Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Rick and Morty

Limits 1s, 512 MB

Rick and Morty are playing a video game called “Shoot ‘em all”. In this game, a player shoots his opponent and his opponent shoot him back until one of them is dead. When one of them is dead the game end and the number of shooted bullets by each player are shown on the screen.

Rick knows that he always shoots more bullets than Morty. Now he is wondering exactly how many bullets he shot more than Morty.

Rick is so busy playing this game. So he wants you to calculate the number of bullets he shots more than Morthy. He will give you the number of the bullet he shot which is N and the number of bullets Morty shots which is M.

Input

Input will contain two integer numbers N and M (1<=M<N<=1000).

Output

Print only one integer. The result of (N-M).

Sample

InputOutput
5
3
2


    Discussion
    Statistics

    100% Solution Ratio

    Mehedi_MithunEarliest, 7M ago

    Mehedi_MithunFastest, 0.0s

    SUHEL_58Lightest, 0 B

    dip_BRURShortest, 32B

    Submit

    Login to submit