import sequtils, strutils let ab = stdin.readLine.split a = ab[0] b = ab[1] len = max(a.len, b.len) za = a.align(len, '0') zb = b.align(len, '0') bool = (0 ..< len).allIt(za[it] >= zb[it]) echo: if bool: "Yes" else: "No"