Based in Honolulu, HI, 3leet5u is a blog by Tristan Madden. His posts are a record of his progression from "HELLO WORLD" to sEASONED PROGRAMMER.

A Different Problem

import java.util.Scanner;

public class KattisB {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        while (sc.hasNext()) {

            long X = sc.nextLong();
            long Y = sc.nextLong();

            if (X > Y) {
                System.out.println(Math.abs(X - Y));

            } else {
                System.out.println(Math.abs(X - Y));

            }
        }
    }
}

Server

Kattis - Sum of Others