String s = scanner.next();  long n = Long.parseLong(s);