fork download
  1.  
  2. import java.util.*;
  3. import java.lang.*;
  4. import java.io.*;
  5.  
  6. class Ideone {
  7. public static void main (String[] args) throws java.lang.Exception {
  8. Scanner in = new Scanner(System.in);
  9. int a=Math.abs(in.nextInt());
  10. int b = a%10;
  11. a /= 100;
  12. System.out.print((a == b ? "=" : (a > b ? (0 + a):(0 + b))));
  13. }
  14. }
Success #stdin #stdout 0.15s 321344KB
stdin
341
stdout
3