Next Primes LIGHT

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Print the next 100 prime numbers from the given input.

- leonid

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

1

Sample output:

2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
101
103
107
109
113
127
131
137
139
149
151
157
163
167
173
179
181
191
193
197
199
211
223
227
229
233
239
241
251
257
263
269
271
277
281
283
293
307
311
313
317
331
337
347
349
353
359
367
373
379
383
389
397
401
409
419
421
431
433
439
443
449
457
461
463
467
479
487
491
499
503
509
521
523
541

Sample input:_

24891747034814118260

Sample output:

24891747034814118293
24891747034814118331
24891747034814118341
24891747034814118379
24891747034814118461
24891747034814118617
24891747034814118631
24891747034814118671
24891747034814118707
24891747034814118727
24891747034814118821
24891747034814118863
24891747034814118883
24891747034814118923
24891747034814118929
24891747034814118937
24891747034814118983
24891747034814119039
24891747034814119111
24891747034814119133
24891747034814119219
24891747034814119249
24891747034814119253
24891747034814119259
24891747034814119283
24891747034814119333
24891747034814119423
24891747034814119517
24891747034814119531
24891747034814119541
24891747034814119591
24891747034814119613
24891747034814119633
24891747034814119639
24891747034814119657
24891747034814119711
24891747034814119723
24891747034814119727
24891747034814119763
24891747034814119819
24891747034814119841
24891747034814119847
24891747034814119919
24891747034814119937
24891747034814119939
24891747034814119987
24891747034814120023
24891747034814120063
24891747034814120143
24891747034814120171
24891747034814120261
24891747034814120267
24891747034814120297
24891747034814120327
24891747034814120381
24891747034814120407
24891747034814120413
24891747034814120443
24891747034814120519
24891747034814120563
24891747034814120689
24891747034814120717
24891747034814120719
24891747034814120731
24891747034814120801
24891747034814120807
24891747034814120873
24891747034814120893
24891747034814120897
24891747034814120927
24891747034814120941
24891747034814120987
24891747034814121013
24891747034814121017
24891747034814121139
24891747034814121157
24891747034814121173
24891747034814121289
24891747034814121331
24891747034814121337
24891747034814121373
24891747034814121401
24891747034814121547
24891747034814121569
24891747034814121589
24891747034814121599
24891747034814121641
24891747034814121661
24891747034814121673
24891747034814121691
24891747034814121701
24891747034814121727
24891747034814121827
24891747034814121863
24891747034814121899
24891747034814121907
24891747034814121971
24891747034814122009
24891747034814122031
24891747034814122081

Sample input:_

48563639254471999476749827365901412991147372540207

Sample output:

48563639254471999476749827365901412991147372540407
48563639254471999476749827365901412991147372540451
48563639254471999476749827365901412991147372540611
48563639254471999476749827365901412991147372540727
48563639254471999476749827365901412991147372540793
48563639254471999476749827365901412991147372540817
48563639254471999476749827365901412991147372540857
48563639254471999476749827365901412991147372541003
48563639254471999476749827365901412991147372541091
48563639254471999476749827365901412991147372541147
48563639254471999476749827365901412991147372541171
48563639254471999476749827365901412991147372541237
48563639254471999476749827365901412991147372541321
48563639254471999476749827365901412991147372541573
48563639254471999476749827365901412991147372541759
48563639254471999476749827365901412991147372541763
48563639254471999476749827365901412991147372541883
48563639254471999476749827365901412991147372541921
48563639254471999476749827365901412991147372541931
48563639254471999476749827365901412991147372542039
48563639254471999476749827365901412991147372542393
48563639254471999476749827365901412991147372542579
48563639254471999476749827365901412991147372543041
48563639254471999476749827365901412991147372543097
48563639254471999476749827365901412991147372543293
48563639254471999476749827365901412991147372543359
48563639254471999476749827365901412991147372543577
48563639254471999476749827365901412991147372543613
48563639254471999476749827365901412991147372543743
48563639254471999476749827365901412991147372543839
48563639254471999476749827365901412991147372543851
48563639254471999476749827365901412991147372543859
48563639254471999476749827365901412991147372543907
48563639254471999476749827365901412991147372543949
48563639254471999476749827365901412991147372543977
48563639254471999476749827365901412991147372543991
48563639254471999476749827365901412991147372544139
48563639254471999476749827365901412991147372544207
48563639254471999476749827365901412991147372544367
48563639254471999476749827365901412991147372544399
48563639254471999476749827365901412991147372544411
48563639254471999476749827365901412991147372544559
48563639254471999476749827365901412991147372544789
48563639254471999476749827365901412991147372545119
48563639254471999476749827365901412991147372545173
48563639254471999476749827365901412991147372545209
48563639254471999476749827365901412991147372545281
48563639254471999476749827365901412991147372545467
48563639254471999476749827365901412991147372545507
48563639254471999476749827365901412991147372545873
48563639254471999476749827365901412991147372545909
48563639254471999476749827365901412991147372545953
48563639254471999476749827365901412991147372545971
48563639254471999476749827365901412991147372546251
48563639254471999476749827365901412991147372546281
48563639254471999476749827365901412991147372546383
48563639254471999476749827365901412991147372546427
48563639254471999476749827365901412991147372546557
48563639254471999476749827365901412991147372546599
48563639254471999476749827365901412991147372546611
48563639254471999476749827365901412991147372546671
48563639254471999476749827365901412991147372546943
48563639254471999476749827365901412991147372546979
48563639254471999476749827365901412991147372547157
48563639254471999476749827365901412991147372547183
48563639254471999476749827365901412991147372547219
48563639254471999476749827365901412991147372547339
48563639254471999476749827365901412991147372547381
48563639254471999476749827365901412991147372547439
48563639254471999476749827365901412991147372547549
48563639254471999476749827365901412991147372547789
48563639254471999476749827365901412991147372547973
48563639254471999476749827365901412991147372547993
48563639254471999476749827365901412991147372548219
48563639254471999476749827365901412991147372548317
48563639254471999476749827365901412991147372548393
48563639254471999476749827365901412991147372548503
48563639254471999476749827365901412991147372548587
48563639254471999476749827365901412991147372548641
48563639254471999476749827365901412991147372548779
48563639254471999476749827365901412991147372548849
48563639254471999476749827365901412991147372548981
48563639254471999476749827365901412991147372548983
48563639254471999476749827365901412991147372549071
48563639254471999476749827365901412991147372549091
48563639254471999476749827365901412991147372549137
48563639254471999476749827365901412991147372549541
48563639254471999476749827365901412991147372549547
48563639254471999476749827365901412991147372549647
48563639254471999476749827365901412991147372549791
48563639254471999476749827365901412991147372550069
48563639254471999476749827365901412991147372550109
48563639254471999476749827365901412991147372550253
48563639254471999476749827365901412991147372550309
48563639254471999476749827365901412991147372550423
48563639254471999476749827365901412991147372550489
48563639254471999476749827365901412991147372550559
48563639254471999476749827365901412991147372550561
48563639254471999476749827365901412991147372550723
48563639254471999476749827365901412991147372551051

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid700.73492014/06/11 18:27:150B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1hallvabo771.04032014/06/12 07:26:440B / ?B / ?B
2llhuii771.05262015/09/13 10:35:050B / 43B / 29B
3leonid791.07122014/10/11 08:57:430B / 48B / 28B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii790.93892015/09/13 10:43:350B / 43B / 35B

Pike _

RankUserSizeTimeDateStatistics
1teebee900.44152015/03/10 16:09:370B / 54B / 34B
2clock900.46152015/03/10 20:42:080B / 54B / 34B
3Hendrik900.44822015/06/25 11:09:080B / 54B / 34B

PARI/GP _

RankUserSizeTimeDateStatistics
1mitchs420.18642014/09/18 16:56:150B / 28B / 14B
2teebee420.17812014/09/30 16:34:340B / 29B / 13B
3Hendrik420.19022014/10/12 09:43:490B / 28B / 14B
4leonid430.18422014/06/11 14:42:080B / 30B / 13B
5rolf430.19052014/07/17 06:33:430B / 30B / 13B

Java _

RankUserSizeTimeDateStatistics
1teebee1471.60262014/06/13 07:07:110B / 108B / 34B

Maxima _

RankUserSizeTimeDateStatistics
1teebee491.44872014/06/11 13:56:370B / 32B / 17B
2mitchs491.55392015/09/14 23:35:530B / 32B / 17B

Groovy _

RankUserSizeTimeDateStatistics
1teebee634.55232014/06/13 06:04:310B / 46B / 16B

Scala _

RankUserSizeTimeDateStatistics
1Hendrik8111.44432015/06/22 01:04:140B / 64B / 9B
2teebee8312.20492014/06/15 01:28:330B / 66B / 10B

Language Ranking_

RankLangUserSizeScore
1PARI/GPmitchs4210000
2Maximateebee498571
3Groovyteebee636666
4Rubyleonid706000
5Pythonhallvabo775454
6Python3llhuii795316
7ScalaHendrik815185
8Piketeebee904666
9Javateebee1472857

return top