[풀이]

import java.io.*;
import java.util.*;


public class Main{
    public static void main(String[] args) throws IOException{
        String result = "";
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());

         int a = Integer.parseInt(st.nextToken());
         int b = Integer.parseInt(st.nextToken());

	/*
         if(a>b){
             result = ">";
         }else if(a<b){
             result = "<";
         }else {
             result = "==";
         } */
         
         result = (a>b) ? ">" : (a<b) ? "<" : "==";

         System.out.println(result);

    }
}

'알고리즘 > 백준' 카테고리의 다른 글

[백준] 10807번 / 개수 세기  (0) 2025.08.05
[백준] 2753번 / 윤년  (0) 2025.08.05
[백준] 1001번 / A-B  (0) 2025.08.05
[백준] 1546번 / 평균 구하기  (0) 2025.07.29
[백준] 11720번 / 숫자의 합  (1) 2025.07.29

+ Recent posts