POST: Drafted the solution 1 of getting max prime