On IDEA works fine except process after input is still running I added
System.exit(0);
But it still dont make it verify.