<filename>abc/abc217/abc217a.py
S, T = input().split()

if S < T:
    print('Yes')
else:
    print('No')

<filename>abc/abc217/abc217a.py
S, T = input().split()

if S < T:
    print('Yes')
else:
    print('No')
