fork download
  1. import java.util.Scanner;
  2. import java.math.BigInteger;
  3.  
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. Scanner in = new Scanner(System.in);
  9. String x, y;
  10. x = in.next();
  11. y = in.next();
  12. if (x.length() > y.length() ){
  13. System.out.print('>');
  14. }
  15. else if (x.length() < y.length() ){
  16. System.out.print('<');
  17. }
  18. else {
  19. int i = 0;
  20. while (i < x.length() && x.charAt(i) == y.charAt(i)){
  21. i++;
  22. }
  23. if (i == x.length()) System.out.print('=');
  24. else if (x.charAt(i) < y.charAt(i)) System.out.print('<');
  25. else System.out.print('>');
  26. }
  27. }
  28. }
Success #stdin #stdout 0.06s 2184192KB
stdin
1 4040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404040404072
stdout
<