跳到主要内容
图灵 OJTURING / ONLINE JUDGE

#F1419. Comparing Two Long Integers

    ID: 1425 传统题 2000ms 256MiB 尝试: 0 已通过: 0 难度: 1 上传者: 标签>模拟字符串编程与模拟入门难度共享题库Codeforces英文题面题目来源题面语言

Comparing Two Long Integers

题目描述

A. Comparing Two Long Integers
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output

You are given two very long integers a,b (leading zeroes are allowed). You should check what number a or b is greater or determine that they are equal.

The input size is very large so don't use the reading of symbols one by one. Instead of that use the reading of a whole line or token.

As input/output can reach huge size it is recommended to use fast input/output methods: for example, prefer to use scanf/printf instead of cin/cout in C++, prefer to use BufferedReader/PrintWriter instead of Scanner/System.out in Java. Don't use the function input() in Python2 instead of it use the function raw_input().

Input

The first line contains a non-negative integer a.

The second line contains a non-negative integer b.

The numbers a,b may contain leading zeroes. Each of them contains no more than 106 digits.

Output

Print the symbol "<" if a<b and the symbol ">" if a>b. If the numbers are equal print the symbol "=".

Examples
Input
9
10
Output
<
Input
11
10
Output
>
Input
00012345
12345
Output
=
Input
0123
9
Output
>
Input
0123
111
Output
>

题目来源:fps-www.educg.net-codeforce-1-2833.xml.zip;FPS 共享题包,题包内第 924 题。保留原作者与原赛事署名。