index | submit | rank | book

order – Checking order

One and three are in increasing order.  Ten and nine are not in increasing order.

Write a program that reads several pairs of numbers and prints if they are in strict increasing order. In other words, if the second number is greater than the first.

Input and Output

Input will consist of several lines each with a pair of numbers x and y where -1 000 000 000 ≤ x, y ≤ 1 000 000 000. Input is terminated by the end-of-file (EOF).

For each line of input, output should contain a single line with either Yes or No indicating whether x < y.

Example input

1 3
10 9
-31337 -1337

Example output

Yes
No
Yes

Scoring

try first: add mult order1

try also: oddeven

try next: good bmi

index | submit | rank | book

Copyright © 2020-2022 Rudy Matela
This text is available under the CC BY-SA 4.0 license.
Originally available on cscx.org/order