S=input() print('Yes' if S>'399' else 'No')