All Tracks Problem

FooBar
/
No tags
Problem
Editorial
Analytics

You have to print the numbers from 1 to 200 in new line.
But for every multiple of 5 print "Foo", for every multiple of 7 print "Bar" and for every multiple of both 5 and 7 print "FooBar" instead of the number.

Score= max(0, x), where x = (200- num of characters in code)/2

SAMPLE INPUT
SAMPLE OUTPUT
1
2
3
4
Foo
6
Bar
8
9
Foo
.
.
.
34
FooBar
36
37
.
.
.
199
Foo
Time Limit: 2.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB

Best Submission

Similar Problems

Contributors

This Problem was Asked in

Initializing Code Editor...
Notifications
View All Notifications

?