Divisors of 37800

37800 can be represented with a product of several prime numbers. Those prime numbers are raised to a power of 3, 2, and 1. 2 is raised to a power of 3, 3 is raised to a power of 3, 5 is raised to a power of 2, and finally, 7 is raised to a power of 1.
Having those numbers grouped:
power3 = [2, 3]
power2 = [5]
power1 = [7]
Your task is to get the expanded version (3rd line) of the multiplication presented above without parentheses and print the list.
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue