i = int(input()) print('Yes' if i == 30 or i == 45 else 'No')