Question

Write a function that returns a list of prime factors of the given number in ascending order?

Login to Submit

Examples

Input: 10
Output: [2, 5]

Input: 100
Output: [2, 2, 5, 5]

Input: 200
Output: [2, 2, 2, 5, 5]