Solved Problem - Prime Factorization
In this lesson, we'll discuss how to find the prime factorization of a number.
We'll cover the following...
Problem statement
Given an integer, , print all the prime factors of .
Input format
A single line of input contains an integer .
Output format
Print all the prime factors of .
Sample
Input 1: `
24
Output 1:
2 3
Input 2:
207
Output 2:
3 23
Explanation
...