print('YNeos'[(input() not in '045')::2])