#547. 「Nowcoder多校 2019 Day1」Fraction Comparision

「Nowcoder多校 2019 Day1」Fraction Comparision

题目描述

Bobo has two fractions xa \frac{x}{a} ​ and yb \frac{y}{b} ​. He wants to compare them. Find the result.

输入格式

The input consists of several test cases and is terminated by end-of-file.

Each test case contains four integers x, a, y, b.

  • 0x,y1018 0 \leq x, y \leq 10^{18}
  • 1a,b109 1 \leq a, b \leq 10^9
  • There are at most 105 10^5 test cases.

输出格式

For each test case, print = if xa=yb \frac{x}{a} = \frac{y}{b} ​. Print < if xa<yb \frac{x}{a} < \frac{y}{b} . Print > otherwise.

样例

样例输入

1 2 1 1
1 1 1 2
1 1 1 1

样例输出

<
>
=