print('Yes' if input()[0] in ('4','5') else 'No')