Smallest Prime Factors - Preparation to IOI Part 2