CRYPTO2 - The Bytelandian Cryptographer (Act II)

Encouraged by his last successful exploit, the Bytelandian fanatic cryptographer impudently encrypted a three-digit number by subtracting 1 from it.

This time he has really overstepped the mark! Soldier, go and beat him, for Burger King & Country! Oh, and remember your good manners, use Brainf**k (no other language is allowed).

Input

An encrypted 3-digit positive integer.

Output

The decrypted value.

Example

Input:
699

Output:

700

Added by:adrian
Date:2004-05-28
Time limit:0.200s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:BF
Resource:Sometimes the simplest language is the most pleasing.

hide comments
2011-05-20 10:28:48 s sivaprasad
is 999 considered as input? and can I give input like 073? (starts with 0).
If yes, how should be the output for these inputs.. should they look like 074 or 74?
2010-01-03 17:17:51 David Pìgøímek (Davpe)
I think, this problem should be in challenge (shorter code, more points).
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.