document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import java.util.*;
  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.  
  9. while(cin.hasNext())
  10. {
  11. a=cin.nextLong();
  12. b=cin.nextLong();
  13. System.out.println((a>b)? a-b : b-a);
  14. }
  15. }
  16. }
');