RoAlgo Contest #9 | Square or Prime Digit?

This was the problem page during the contest. Access the current page here.