Pratice Coding in Java on HackerRank