x = int(input()) aiko = [0, 4, 10] print('Yes') if x in aiko else print('No')