MB2 - Reverse text

Your task is to write a program in Brainfuck which will read a line of text and print it in reverse order.

Input

First and the only line of input contains text which will not be longer than 200 characters. At the end of an input there is new line character (ASCII: 10).

Output

Print all characters of the input in reverse order.

Score

Score equals to size (in bytes) of source code of your program. The fewer points you score, the better.

Example

Input:

Reverse this line!

Output:

!enil siht esreveR

Added by:Maciej Boniecki
Date:2010-09-08
Time limit:1s
Source limit:100B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:BF

hide comments
2013-01-18 14:51:20 Mostafa 36a2
can it opened for all languages ?
i wonder if any language can beat BF here!
Ans(Tjandra): I think it can't because it already designed for brainf**k.. But it's possible to create new problem like this and open to all languages ;-)

Last edit: 2013-07-18 13:47:23
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.