def main(): n = int(input()) print('Yes' if n % 180 == 90 else 'No') if __name__ == '__main__': main()