Akash Jain's submission of SECONDPRIME | CodeChef