Homework: Do the second problem of https://www.hackerrank.com/contests/acsl2020-finals-jr/challenges Here is the answer for the first problem: https://replit.com/@WarheaddWhiteoa/Spot-The-Y#Solution.java