Day2 Java Having Trouble Solving It R Adventofcode

Day2 Java Having Trouble Solving It R Adventofcode