p = int(input()) print('YNeos'[p%4==3::2])