inp = [int(_) for _ in input().split()] n,k = inp[0],inp[1] if k < n: print("YES") else: print("NO")
就是判断 k <n
因为 k 对,那么这个就是一个 for in n 的遍历关系