import Data.Bool first f t=(f$fst t,snd t) second f t=(fst t,f$snd t) dupe x=(x,x) main=putStrLn.bool"No""Yes".uncurry(&&).first([2019,4,30]>=).second([1989,1,8]<=).dupe.map read.words=<