func main() var a0: int :: cui@inputInt() var b0: int :: cui@inputInt() var c0: int :: cui@inputInt() var a1: int :: cui@inputInt() var b1: int :: cui@inputInt() var c1: int :: cui@inputInt() var abc0: int :: a0 * 1000000 + b0 * 1000 + c0 var abc1: int :: a1 * 1000000 + b1 * 1000 + c1 var ans: bool :: abc0 >= abc1 do cui@print(ans ?("YES\n", "NO\n")) end func