Alright I'm going to go OOC for a second here.
Here's a link to IntelliJ if you don't have something to run .java programs.
And here's the link to the java file.
PLEASE DO NOT LOOK AT THE CONTENTS. I put in a long commented out section at the top and bottom so you don't see it, so just run it when it opens, I don't want you spoiling the answers.
I'll check your keys to make sure you didn't cheat.