print('Yes' if input()[0] in '45' else 'No')