100 #ABC233A. [ABC233A] 10yen Stamp

[ABC233A] 10yen Stamp

Score : 100100 points

Problem Statement

Takahashi wants to send a letter to Santa Claus. He has an envelope with an XX-yen (Japanese currency) stamp stuck on it. To be delivered to Santa Claus, the envelope must have stamps in a total value of at least YY yen. Takahashi will put some more 1010-yen stamps so that the envelope will have stamps worth at least YY yen in total. At least how many more 1010-yen stamps does Takahashi need to put on the envelope?

Constraints

  • XX and YY are integers.
  • 1X,Y10001 \le X,Y \le 1000

Input

Input is given from Standard Input in the following format:

XX YY

Output

Print the answer as an integer.

80 94
2
  • After adding zero 1010-yen stamps to the 8080-yen stamp, the total is 8080 yen, which is less than the required amount of 9494 yen.
  • After adding one 1010-yen stamp to the 8080-yen stamp, the total is 9090 yen, which is less than the required amount of 9494 yen.
  • After adding two 1010-yen stamps to the 8080-yen stamp, the total is 100100 yen, which is not less than the required amount of 9494 yen.
1000 63
0

The envelope may already have a stamp with enough value.

270 750
48