You are about to visit an external link, proceed with caution
http://www.spoj.com/problems/FCTRL2/
Proceed