print(['No', 'Yes'][int(input().strip()) % 180 == 90])