Programming Principles 1. Week 2. September 9 - 15. PART 2
Square of maximum
Three-digit number is given. Rearrange its digits so that to get the maximum number (written with the same digits). Then this maximum number should be squared and printed.
One three-digit positive integer.
Print the square of maximum number.
Input example #1
Output example #1