document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import java.util.Scanner;
  2.  
  3. public class Solver {
  4.  
  5. public static void main(String[] args) {
  6. Scanner cin = new Scanner(System.in);
  7. long a,b;
  8. while(cin.hasNext())
  9. {
  10. a=cin.nextLong();
  11. b=cin.nextLong();
  12. System.out.println((a>b)? a-b : b-a);
  13. }
  14.  
  15. }
  16.  
  17. }
');