print('YNeos'[int(input()) not in [0,4,10]::2])