Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

MAXMINBF - Bigger, smaller or equal

Given two integers a and b you have to determine, whether a is bigger than b, smaller than b or they are equal. The trick is that you have to solve this problem in Brainfuck.

Input

Two integers a and b (0 ≤ a, b ≤ 9). They are separated with a space and followed by an endline.

Output

Exactly one number:

  • 0 - if a = b
  • 1 - if a > b
  • 2 - if a < b

Example

Input:
2 3 Output: 2


Added by:Piotr Kąkol
Date:2014-09-13
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:BF
Resource:Problem MAXMINBR by Marcin Sasinowski

hide comments
2020-08-28 17:26:50 Rafail Loizou
Oh just solved this... never realized that it doesn't affect the ranking
2014-09-17 02:03:32 Piotr KÄ…kol
Yeah. It's high time. :-)
2014-09-14 02:49:46 Mitch Schwartz
Glad to see that brainfuck has its own section now! :D
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.