Java util zip. Java util scanner. inputmismatchexception. int n = scanner.nextint();. inputmismatchexception try catch.