Codeforces Round #226 (Div. 2)--C. Bear and Prime Numbers
C.BearandPrimeNumberstimelimitpertest2secondsmemorylimitpertest512megabytesinputstandardinputoutputstandardoutputRecently,thebearstartedstudyingdatastructuresandfacedthefollowingproblem.Youaregivenase