import Data.List main = getLine >>= print . head . ([1..10] \\) . map read . words