There is an N-car train.
You are given an integer i. Find the value of j such that the following statement is true: "the i-th car from the front of the train is the j-th car from the back."

-----Constraints-----
 - 1 \leq N \leq 100
 - 1 \leq i \leq N

-----Input-----
Input is given from Standard Input in the following format:
N i

-----Output-----
Print the answer.

-----Sample Input-----
4 2

-----Sample Output-----
3

The second car from the front of a 4-car train is the third car from the back.
[{"code": "N, i = list(map(int, input().split()))\n\nprint(N - i + 1)", "passed": true, "time": 0.16, "memory": 14256.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(a-b+1)", "passed": true, "time": 2.15, "memory": 14300.0, "status": "done"}, {"code": "n,i=map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.18, "memory": 14168.0, "status": "done"}, {"code": "n,i=map(int,input().split())\n\nprint(n-i+1)", "passed": true, "time": 0.15, "memory": 14272.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N - i + 1)", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "N,i = map(int,input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "n, i = list(map(int, input().split()))\nprint(n-i+1)", "passed": true, "time": 0.23, "memory": 14056.0, "status": "done"}, {"code": "def mapt(fn, *args):\n    return list(map(fn, *args))\n\n\ndef Input():\n    return mapt(int, input().split(\" \"))\n\n  \ndef main():\n    n, i = Input()\n    print(n - i + 1)\n\n\nmain()", "passed": true, "time": 0.23, "memory": 14100.0, "status": "done"}, {"code": "#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#s, t = map(str, input().split())\n#l = list(map(int, input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n#a = [list(input()) for _ in range(n)]\n#a = [int(input()) for _ in range(n)]\n\nn,i = list(map(int, input().split()))\n\nprint((n-i+1))\n", "passed": true, "time": 0.17, "memory": 14164.0, "status": "done"}, {"code": "n,i = map(int, input().split())\nprint(n-list(range(1,n+1)).index(i))", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "N, i = map(int, input().split())\n\nprint(N - i + 1)", "passed": true, "time": 0.15, "memory": 14268.0, "status": "done"}, {"code": "n,i=map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "n, i = list(map(int, input().split()))\n\nprint((n - i + 1))\n", "passed": true, "time": 0.24, "memory": 14032.0, "status": "done"}, {"code": "a,b = map(int, input().split())\nprint(a-b+1)", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(a-b+1)", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(a-b+1)", "passed": true, "time": 0.25, "memory": 14084.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n - i + 1)", "passed": true, "time": 0.14, "memory": 14040.0, "status": "done"}, {"code": "N,i = map(int,input().split())\nif N==1:\n    print(1)\nelif N==2:\n    if i == 1:\n        print(2)\n    else:\n        print(1)\nelse:\n    print(N-i+1)", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "def solve():\n    a, b = map(int, input().split())\n    print(a - b + 1)\n\nsolve()", "passed": true, "time": 0.14, "memory": 14012.0, "status": "done"}, {"code": "a,b = list(map(int,input().split()))\nprint((a-b+1))\n\n\n", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "N, i = map(int, input().split())\n\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14164.0, "status": "done"}, {"code": "n,m = map(int, input().split())\nprint(n+1-m)", "passed": true, "time": 0.22, "memory": 14288.0, "status": "done"}, {"code": "n, i = list(map(int, input().split()))\n\nprint((n-i+1))\n", "passed": true, "time": 0.15, "memory": 14224.0, "status": "done"}, {"code": "n,i=map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.13, "memory": 14040.0, "status": "done"}, {"code": "n,i=map(int, input().split())     \nprint(n-i+1)", "passed": true, "time": 0.15, "memory": 14080.0, "status": "done"}, {"code": "N, i = map(int,input().split())\n\nprint(N + 1 - i)", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "N, i = map(int, input().split())\n\nprint(N - i + 1)", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N + 1 - i)", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "def main():\n    n, i = list(map(int, input().split()))\n    print((n-i+1))\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.34, "memory": 14108.0, "status": "done"}, {"code": "\ndef main():\n    n, i = list(map(int, input().split()))\n    print((n - i + 1))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.23, "memory": 14140.0, "status": "done"}, {"code": "N,i = map(int, input ().split ())\nprint (N-i+1)", "passed": true, "time": 0.38, "memory": 14060.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N-i+1)", "passed": true, "time": 0.38, "memory": 14112.0, "status": "done"}, {"code": "N,i=list(map(int,input().split()))\nprint((N-i+1))\n", "passed": true, "time": 0.17, "memory": 14252.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n - i + 1)", "passed": true, "time": 0.17, "memory": 14180.0, "status": "done"}, {"code": "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n    N, i = list(map(int, readline().split()))\n\n    print((N - i + 1))\n\n    return\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.17, "memory": 14104.0, "status": "done"}, {"code": "n, i = list(map(int, input().split()))\nprint((n-i+1))\n", "passed": true, "time": 0.16, "memory": 14052.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(a-b+1)", "passed": true, "time": 0.16, "memory": 14296.0, "status": "done"}, {"code": "n,i= map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.34, "memory": 14084.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(a - b + 1)", "passed": true, "time": 0.24, "memory": 14084.0, "status": "done"}, {"code": "n, i = list(map(int, input().split()))\n\nprint(n-i+1)", "passed": true, "time": 0.17, "memory": 14192.0, "status": "done"}, {"code": "n, i = list(map(int, input().split()))\nprint((n - i + 1))\n", "passed": true, "time": 0.17, "memory": 14036.0, "status": "done"}, {"code": "train_len, target_vehicle = list(map(int, input().split()))\n\ntarget_from_backside = train_len - (target_vehicle - 1)\nprint(target_from_backside)\n", "passed": true, "time": 0.23, "memory": 14092.0, "status": "done"}, {"code": "n, m=map(int,input().split())\nprint(n+1-m)", "passed": true, "time": 0.23, "memory": 14280.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(a-b+1)", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "N, i = list(map(int, input().split()))\nprint((N + 1 - i))\n", "passed": true, "time": 0.34, "memory": 14228.0, "status": "done"}, {"code": "a,b=map(int,input().split(\" \"))\nprint(a-b+1)", "passed": true, "time": 0.19, "memory": 14224.0, "status": "done"}, {"code": "n,i=map(int, input().split())\nprint(n-i+1)", "passed": true, "time": 0.15, "memory": 14224.0, "status": "done"}, {"code": "k,i = map(int,input().split())\n\nprint(k-i+1)", "passed": true, "time": 0.25, "memory": 14040.0, "status": "done"}, {"code": "import sys\n\n\nstdin = sys.stdin\ndef ns(): return stdin.readline().rstrip()\ndef ni(): return int(stdin.readline().rstrip())\ndef nm(): return list(map(int, stdin.readline().split()))\ndef nl(): return list(map(int, stdin.readline().split()))\n\n\ndef main():\n    n, i = nm()\n    print((n - i + 1))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "N, i = list(map(int, input().split()))\nprint((N-i+1))\n", "passed": true, "time": 0.25, "memory": 14156.0, "status": "done"}, {"code": "N,I = map(int,input().split())\nprint(N-I+1)", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "N,i=map(int,input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(a + 1 - b)", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "N,i=list(map(int,input().split()))\nprint((N-i+1))\n", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(int(a-b+1))", "passed": true, "time": 0.23, "memory": 14232.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "a,b=input().split()\na=int(a)\nb=int(b)\nprint(int(a-b+1))", "passed": true, "time": 0.15, "memory": 14084.0, "status": "done"}, {"code": "N,i=map(int,input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "N,i=map(int,input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "n,a =map(int,input().split())\nprint(n-a+1)", "passed": true, "time": 0.22, "memory": 14180.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(a-b+1)", "passed": true, "time": 0.15, "memory": 14080.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n+1-i)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "n, i = map(int, input().split())\n\nprint(n-i+1)", "passed": true, "time": 0.15, "memory": 14232.0, "status": "done"}, {"code": "N,i = map(int, input().split())\n\nprint(N-i+1)", "passed": true, "time": 0.23, "memory": 14040.0, "status": "done"}, {"code": "n,i=list(map(int ,input().split()))\nans=(n-i)+1\nprint(ans)", "passed": true, "time": 0.15, "memory": 14180.0, "status": "done"}, {"code": "n,m = [int(x) for x in input().split()]\nprint(n-m+1)", "passed": true, "time": 0.24, "memory": 14244.0, "status": "done"}, {"code": "n,i = map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.15, "memory": 14316.0, "status": "done"}, {"code": "def main():\n    a,b=list(map(int,(input()).split()))\n    print(((a-b)+1))\nmain()\n", "passed": true, "time": 0.29, "memory": 14072.0, "status": "done"}, {"code": "n,i=map(int, input().split())\n\nprint(n-i+1)", "passed": true, "time": 0.23, "memory": 14300.0, "status": "done"}, {"code": "A,B =map(int,input().split())\n\nprint(A-B+1)", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "n,i = map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.24, "memory": 14028.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n - (i-1))", "passed": true, "time": 0.15, "memory": 14160.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n-i+1)", "passed": true, "time": 0.15, "memory": 14044.0, "status": "done"}, {"code": "n ,i = map(int, input().split())\nres = n - i + 1\nprint(res)", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n - i + 1)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N+1-i)", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "n,i=map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "n,i=map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "N,i=list(map(int,input().split()))\nprint(((N-i)+1))\n", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "# ABC107\n# A Train\nN, i = list(map(int, input().split()))\nprint((N - i + 1))\n", "passed": true, "time": 0.16, "memory": 14296.0, "status": "done"}, {"code": "n,i=map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n - i + 1)", "passed": true, "time": 0.23, "memory": 14048.0, "status": "done"}, {"code": "n,p = map(int,input().split())\nprint(n-p+1)", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "N, i = map(int, input().split())\nprint(N - i + 1)", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nprint(a- b + 1)", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "N, i = map(int, input().split())\n\nprint(N - i + 1)", "passed": true, "time": 0.14, "memory": 14036.0, "status": "done"}, {"code": "n,i = map(int,input().split())\nprint(n - i + 1)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a,b=map(int, input().split())\nprint(a-b+1)", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "N,i = map(int,input().split())\nprint(N-i+1)", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "n , i = map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(a+1-b)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "n,i = map(int,input().split())\nprint(n-i+1)", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "n,k = map(int,input().split())\nprint(n-k+1)", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "n, i = map(int, input().split())\nprint(n - i + 1)", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}]