#101. 汽车限行[Car Traffic Restrictions]
汽车限行[Car Traffic Restrictions]
说明
城市里由于汽车太多了,路上太拥堵,所以采用单双号限行原则。周一、周三和周五车牌尾号为单数汽车不能开,周二、周四和周六双号汽车不能开,周日都能开。告诉你a表示汽车尾号和b表示今天是周几,这辆汽车今天能够开。(0<=a<=9,1<=b<=7)
[English]There are too many cars in the city and the roads are too congested, so the principle of single and double number restriction is used. Monday, Wednesday and Friday license plates with an odd number of cars can not drive, Tuesday, Thursday and Saturday double number of cars can not drive, Sunday are able to drive. Tell you that a means the last number of the car and b means what day of the week it is, and that the car can be driven today. (0<=a<=9, 1<=b<=7)
输入格式
两个整数a和b
[English]Two integers a and b
输出格式
能开就输出Yes,不能开就输出No
[English]Yes if you can drive, No if you can't
样例
3 5
No