← Back to List
6750번: Rotating letters ↗
Solutions
Python 3
102 B | 102 chars
for i in input(): if i not in "IOSHZXN": print("NO") break else: print("YES")