HS09BF - Primes in Brainf##k

Your task is to print all primes up to 100 separated by a single comma. Please do not print anything else after the last prime.

Attention: You can use any programming language you want, as long as it is Brainf**k.

Input

Nothing.

Output

In a single line, all the primes up to 100.

Example

Input:

Output:
2,3,5,7,...,97

Added by:Robert Gerbicz
Date:2009-09-02
Time limit:1s
Source limit:1024B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:BF
Resource:High School Programming League

hide comments
2016-07-31 13:52:38
I got 238 bytes for "only printing" method.
2015-01-25 20:21:31 Mitch Schwartz
@Abhay Pratap: Make sure you remove any extra whitespace. The problem happens sometimes because people didn't notice a trailing newline getting added when clicking "edit" to pull up an old submission.
2015-01-25 19:23:47 Abhay Pratap
my code size is 226 bytes but getting AC with 233?? why is that??
2014-01-14 01:21:13 Martijn Muijsers
First time I've ever seen 'please' in a problem description :)
2013-07-05 15:31:05 Ouditchya Sinha
@Jander : Thank you for the motivation, 231B now! Will keep trying. :)
2013-03-26 20:45:40 Jander
@Ouditchya Sinha - Find a different way of solving it.
2013-03-19 13:08:12 Ouditchya Sinha
Yep! Did it in 243B... how do I reduce it further?
2012-12-29 20:03:12 Jander
@Mitch - Thanks for beating me on SHORTEN :-) It made me go back and revisit my code. It's a good challenge - I learned a lot when I was looking at this one originally.
2012-10-18 19:37:40 Aditya Pande
how can it be done within 250 B
EDIT: under 200 B

Last edit: 2012-11-03 08:23:57
2012-10-17 21:19:42 Robert Gerbicz
OK, moved to the challenge section.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.