Problem
Read a number and print its square on the first line and its cube on the second.
For the input 3:
3
9 27
Write two methods that return the values, and let main do the printing.
main
Press «Submit» to run your code against the task's test cases — that is what sets your score. «AI review» is an optional second opinion: it reads your code — logic and style, not just the output — and suggests the next step without handing over the answer. It never changes your score.