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