Added SPOJ's CNTPRIME.