Search for cosmic antideuterons and antiprotons