This page is still under construction.

Parts of this page are still being built. What you see may change.

Is the First Number Greater?

Time limit1sMemory limit128 MB

Summary
For each pair of positive integers read until a 0 0 line, print Yes when the first is greater than the second, otherwise No.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

You are given two positive integers. Write a program that determines whether the first number is greater than the second.

Input

The input consists of several test cases. Each test case is given on a single line as two integers, each between 11 and 1,000,0001{,}000{,}000 inclusive. The last line contains two 0s; this line is not processed.

Output

For each test case, print Yes if the first number is greater than the second, and No otherwise, one result per line.

Examples5

  1. Example 1

    Input
    1 19
    4 4
    23 14
    0 0
    
    Expected output
    No
    No
    Yes
    
  2. Example 2

    Input
    5 3
    0 0
    
    Expected output
    Yes
    
  3. Example 3

    Input
    7 7
    0 0
    
    Expected output
    No
    
  4. Example 4

    Input
    2 9
    0 0
    
    Expected output
    No
    
  5. Example 5

    Input
    1 1
    1 2
    2 1
    0 0
    
    Expected output
    No
    No
    Yes