Problem:


Score : 100 points

Problem Statement

We have a sandglass that runs for X seconds. The sand drops from the upper bulb at a rate of 1 gram per second. That is, the upper bulb initially contains X grams of sand.

How many grams of sand will the upper bulb contains after t seconds?

Constraints

1≤X≤10^9

1≤t≤10^9

X and t are integers.

Input

The input is given from Standard Input in the following format:

X t

Output

Print the number of sand in the upper bulb after t second.

Sample Input 1

100 17

Sample Output 1

83

17 out of the initial 100 grams of sand will be consumed, resulting in 83 grams.

Sample Input 2

48 58

Sample Output 2

0

All 48 grams of sand will be gone, resulting in 0 grams.

Sample Input 3

1000000000 1000000000

Sample Output 3

0



Sample input:
100 17


Sample output:
83

Submission status: Accepted

Solution code:
import math

a,b=map(int,input().split())
ans=max(0,a-b)
print(ans)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print(0 if a-b < 0 else a-b)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())

if X >= t:
  print(X - t)
else:
  print(0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print(x - min(x, t))

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
if X>t:
  print(X-t)
else:
  print(0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x-t >= 0:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
 
if x >= t:
  print(x-t)
else:
  print("0")

Submission status: Accepted

Solution code:
X,t = map(int,input().split())
if X > t:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
x, t = list(map(int, input().split()))

if x - t > 0:
    print(x - t)
else:
    print(0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print(0 if x-t < 0 else x-t)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(X - t if X-t > 0 else 0)

Submission status: Accepted

Solution code:
X,t=map(int,input().split())

print((X-t)*(X>t))

Submission status: Accepted

Solution code:
X,t = map(int, input().split())

if X-t <= 0:
  print(0)
else:
  print(X-t)

Submission status: Accepted

Solution code:
X,t = map(int,input().split())

if X-t<=0:
  print(0)
else:
  print(X-t)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
ans = x - t
if ans < 0:
    print(0)
else:
    print(ans)

Submission status: Accepted

Solution code:
def main():
  x, t = map(int, input().split())
  if t > x:
    print(0)
  else:
    print(x-t)

if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
x,t = map(int,input().split())

if x >= t:
    print(x - t)
else:
    print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
if X-t > 0:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
import sys
## io ##
def IS(): return sys.stdin.readline().rstrip()
def II(): return int(IS())
def MII(): return list(map(int, IS().split()))

def main():
    x, t = MII()
    print(max(x-t, 0))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
if x-t>0:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
X, t = list(map(int, input().split()))

if t >= X:
  print("0")
else:
  print(X-t)

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
print(max(0,x-t))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print((x - t) if x >= t else 0)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
print(0 if x<=t else x-t)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(X - t if X - t > 0 else 0)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
if x-t>=0:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x <= t:
    print(0)
else:
    print(x-t)

Submission status: Accepted

Solution code:

x,t=map(int,input().split())

print(x-t if (x-t)>0 else 0)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

import sys
# import time
# import math
# import numpy as np
# import scipy.sparse.csgraph as cs            # csgraph_from_dense(ndarray, null_value=inf), bellman_ford(G, return_predecessors=True), dijkstra, floyd_warshall
# import random                                # random, uniform, randint, randrange, shuffle, sample
# import string                                # ascii_lowercase, ascii_uppercase, ascii_letters, digits, hexdigits
# import re                                    # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)
# from bisect import bisect_left, bisect_right # bisect_left(a, x, lo=0, hi=len(a)) returns i such that all(val<x for val in a[lo:i]) and all(val>-=x for val in a[i:hi]).
# from collections import deque                # deque class. deque(L): dq.append(x), dq.appendleft(x), dq.pop(), dq.popleft(), dq.rotate()
# from collections import defaultdict          # subclass of dict. defaultdict(facroty)
# from collections import Counter              # subclass of dict. Counter(iter): c.elements(), c.most_common(n), c.subtract(iter)
# from datetime import date, datetime          # date.today(), date(year,month,day) => date obj; datetime.now(), datetime(year,month,day,hour,second,microsecond) => datetime obj; subtraction => timedelta obj
# from datetime.datetime import strptime       # strptime('2019/01/01 10:05:20', '%Y/%m/%d/ %H:%M:%S') returns datetime obj
# from datetime import timedelta               # td.days, td.seconds, td.microseconds, td.total_seconds(). abs function is also available.
# from copy import copy, deepcopy              # use deepcopy to copy multi-dimentional matrix without reference
# from functools import reduce                 # reduce(f, iter[, init])
# from functools import lru_cache              # @lrucache ...arguments of functions should be able to be keys of dict (e.g. list is not allowed)
# from heapq import heapify, heappush, heappop # built-in list. heapify(L) changes list in-place to min-heap in O(n), heappush(heapL, x) and heappop(heapL) in O(lgn).
# from heapq import nlargest, nsmallest        # nlargest(n, iter[, key]) returns k-largest-list in O(n+klgn).
# from itertools import count, cycle, repeat   # count(start[,step]), cycle(iter), repeat(elm[,n])
# from itertools import groupby                # [(k, list(g)) for k, g in groupby('000112')] returns [('0',['0','0','0']), ('1',['1','1']), ('2',['2'])]
# from itertools import starmap                # starmap(pow, [[2,5], [3,2]]) returns [32, 9]
# from itertools import product, permutations  # product(iter, repeat=n), permutations(iter[,r])
# from itertools import combinations, combinations_with_replacement
# from itertools import accumulate             # accumulate(iter[, f])
# from operator import itemgetter              # itemgetter(1), itemgetter('key')
# from fractions import gcd                    # for Python 3.4 (previous contest @AtCoder)



def main():
    mod = 1000000007                # 10^9+7
    inf = float('inf')              # sys.float_info.max = 1.79...e+308
    # inf = 2 ** 64 - 1             # (for fast JIT compile in PyPy) 1.84...e+19
    sys.setrecursionlimit(10**6)    # 1000 -> 1000000
    def input(): return sys.stdin.readline().rstrip()
    def ii():    return int(input())
    def mi():    return map(int, input().split())
    def mi_0():  return map(lambda x: int(x)-1, input().split())
    def lmi():   return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():    return list(input())
    
    
    x, t = mi()
    print(max(x - t, 0))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
X,t = map(int,input().split())
print(X-t if X-t>0 else 0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
ans = max(0,X-t)
print(ans)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(max((X - t), 0))

Submission status: Accepted

Solution code:
x = input().split()
X = int(x[0])
t = int(x[1])
if (X-t) > 0:
  print(X-t)
else:
  print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(max(0, X - t))

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
if x-t<0:
    print(0)
else:
    print(x-t)

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

x, t = map(int, readline().split())
print(max(0, x-t))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())

if x > t:
    ans = x-t
else:
    ans = 0

print(ans)

Submission status: Accepted

Solution code:
X,t = map(int,input().split())

tmp = X-t

if tmp <= 0:
    print(0)
else:
    print(tmp)

Submission status: Accepted

Solution code:
x, y = map(int, input().split())
if x-y > 0:
    print(x-y)
else:
    print(0)

Submission status: Accepted

Solution code:
X,t = map(int, input().split())
res = X - t
if res >= 0:
    print(res)
else:
    print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
out = X-t
if out < 0:
    print(0)
else:
    print(out)

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
if X>t:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())

ans = max(x - t, 0)
print(ans)

Submission status: Accepted

Solution code:
x, t = list(map(int, input().split()))
print(max(x - t, 0))

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print(max(0, x-t))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())

ans = max(0, x - t)
print(ans)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())

ans = max([0, x - t])
print(ans)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print("0" if a-b<0 else a-b)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())

print(max(x-t,0))

Submission status: Accepted

Solution code:
X,t = map(int,input().split())
ans = X-t

if ans <= 0:
    print(0)
else:
    print(ans)

Submission status: Accepted

Solution code:
sand,t = map(int,input().split(" "))

if t >= sand:
  print(0)
  
else:
  print(sand - t)

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
if x <= t:
  print(0)
else:
  print(x-t)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print(max(x - t, 0))

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    x, t = map(int, input().split())
    print(max(0,  x - t))


if __name__ == '__main__':
    resolve()

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x >= t:
  print(x-t)
else:
  print('0')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
X, t = map(int, input().split())
print(max(0, X - t))

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
if (X-t<0):
    print(0)
else:
    print(X-t)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Wed May 13 11:55:25 2020

@author: shinba
"""

x,t = map(int,input().split())

if x <= t:
    print(0)
else:
    print(x-t)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

#############
# Libraries #
#############

import sys
input = sys.stdin.readline

import math
from collections import deque
from fractions import gcd
from functools import lru_cache


#############
# Constants #
#############

MOD = 10**9+7
INF = float('inf')

#############
# Functions #
#############

######INPUT######
def inputI(): return int(input().strip())
def inputS(): return input().strip()
def inputIL(): return list(map(int,input().split()))
def inputSL(): return list(map(str,input().split()))
def inputILs(n): return list(int(input()) for _ in range(n))
def inputSLs(n): return list(input().strip() for _ in range(n))
def inputILL(n): return [list(map(int, input().split())) for _ in range(n)]
def inputSLL(n): return [list(map(str, input().split())) for _ in range(n)]

#####Inverse#####
def inv(n): return pow(n, MOD-2, MOD)

######Combination######
kaijo_memo = []
def kaijo(n):
  if(len(kaijo_memo) > n):
    return kaijo_memo[n]
  if(len(kaijo_memo) == 0):
    kaijo_memo.append(1)
  while(len(kaijo_memo) <= n):
    kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD)
  return kaijo_memo[n]

gyaku_kaijo_memo = []
def gyaku_kaijo(n):
  if(len(gyaku_kaijo_memo) > n):
    return gyaku_kaijo_memo[n]
  if(len(gyaku_kaijo_memo) == 0):
    gyaku_kaijo_memo.append(1)
  while(len(gyaku_kaijo_memo) <= n):
    gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD)
  return gyaku_kaijo_memo[n]

def nCr(n,r):
  if(n == r):
    return 1
  if(n < r or r < 0):
    return 0
  ret = 1
  ret = ret * kaijo(n) % MOD
  ret = ret * gyaku_kaijo(r) % MOD
  ret = ret * gyaku_kaijo(n-r) % MOD
  return ret

######Factorization######
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])
    return arr

#####LCM#####
def lcm(a, b):
    return a * b // gcd (a, b)

#############
# Main Code #
#############

X,t = inputIL()

print(max(0,X-t))

Submission status: Accepted

Solution code:
import sys
import math
import bisect

def main():
    x, t = map(int, input().split())
    print(max(0, x - t))

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(a-b if a-b>0 else 0)

Submission status: Accepted

Solution code:
X,t = map(int, input().split())
if X <= t:
    print(0)
else:
    print(X-t)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x <= t:
    print(0)
else:
    print(x-t)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(X-t if X-t >0 else 0)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
if (x-t)>=0:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    X, t = map(int, input().split())

    ans = max(0, X - t)

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def main():
    x, t = map(int, input().split())
    if x < t:
        ans = 0
    else:
        ans = x - t
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
print(X-t if X>t else 0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
if X >= t:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
def ABC_72_A():
    X,t = map(int, input().split())
    
    if X-t >=0:
        print(X-t)
    else:
        print(0)

if __name__ == '__main__':

    ABC_72_A()

Submission status: Accepted

Solution code:
# region header
import sys
import math
from bisect import bisect_left, bisect_right, insort_left, insort_right
from collections import defaultdict, deque, Counter
from copy import deepcopy
from fractions import gcd
from functools import lru_cache, reduce
from heapq import heappop, heappush
from itertools import accumulate, groupby, product, permutations, combinations, combinations_with_replacement
from math import ceil, floor, factorial, log, sqrt, sin, cos
from operator import itemgetter
from string import ascii_lowercase, ascii_uppercase, digits
sys.setrecursionlimit(10**7)
rs = lambda: sys.stdin.readline().rstrip()
ri = lambda: int(rs())
rf = lambda: float(rs())
rs_ = lambda: [_ for _ in rs().split()]
ri_ = lambda: [int(_) for _ in rs().split()]
rf_ = lambda: [float(_) for _ in rs().split()]
INF = float('inf')
MOD = 10 ** 9 + 7
PI = math.pi
# endregion
X, t = ri_()
print(max(0, X - t))

Submission status: Accepted

Solution code:
X, t = list(map(int,input().split()))
if X - t > 0:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())

print(max(x-t,0))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x - t >= 0:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
def main():
    x,t = (int(x) for x in input().split())
    if x <= t: print(0)
    else: print(x-t)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print(a-b if a-b>0else 0)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
r=x-t

if r > 0:
    print(r)
else:
    print(0)

Submission status: Accepted

Solution code:
N,t = map(int,input().split())
if N-t>0:
    print(N-t)
elif N-t<=0:
    print(0)

Submission status: Accepted

Solution code:
def main():
    x,t = map(int,input().split())
    print(max(0,x-t))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print(0 if x<t else x-t)

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
print(max((x-t),0))

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print([x-t,0][t>x])

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x < t:
  print("0")
else:
  print(x-t)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

X, t = map(int, input().split())
# A = list(map(int, input().split()))

def main():
    print(max(0, X - t))

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
if x > t:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:
s, t = [int(a) for a in input().split()]
print(max(0, s-t))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
r = x - t
if r < 0:
	r = 0
print(r)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

X, t = map(int, input().split())

if X >= t:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
def resolve():
	x, t = map(int, input().split())
	print(x - t if x - t >= 0 else 0)
resolve()

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print(0 if (x-t<0) else x-t)

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
ans = x - t
if ans < 0: ans = 0
print(ans)

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7
import numpy as np

X, t = MAP()

print(X-t if X > t else 0)

Submission status: Accepted

Solution code:
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections

x,t = map(int,input().split())
print(max(0,x-t))

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
if t>x:
    print(0)
else:
    print(x-t)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print(x-t if x-t > 0 else 0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())

print(max(X-t, 0))

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
if X-t>0:
  print(X-t)
else:
  print(0)

Submission status: Accepted

Solution code:
x,t = map(int,input().split())

if x >= t:
  print(x -t)
else:
  print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
if X-t < 0:
  print(0)
else:
  print(X-t)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print(0 if b>a else a-b)

Submission status: Accepted

Solution code:
A, B =  map(int, input().split())
print(max(A-B, 0))

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
ans=max(0,x-t)
print(ans)

Submission status: Accepted

Solution code:
a,b = map(int, input().split())

if a > b:
    print(a - b)
else:
    print("0")

Submission status: Accepted

Solution code:
# Problem A - Sandglass2

# input
X, t = map(int, input().split())

# initialization
ans = max(0, X - t)

# output
print(ans)

Submission status: Accepted

Solution code:
from sys import stdin


if __name__ == "__main__":
    _in = [_.rstrip() for _ in stdin.readlines()]
    X, t = list(map(int,_in[0].split(' ')))  # type:list(int)
    # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    cnt = max(X-t,0)
    # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    print(cnt)

Submission status: Accepted

Solution code:
def main():
    X, t = (int(i) for i in input().split())
    print(max(X-t, 0))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X,t=map(int, input().split())

print(max(X-t, 0))

Submission status: Accepted

Solution code:
X, t = map(int,input().split())
print(max(0,X-t))

Submission status: Accepted

Solution code:
X, t = map(int, input().split())

print (max(0, X - t))

Submission status: Accepted

Solution code:
X,t=map(int, input().split())
print(max(0,X-t))

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print(x-t if x > t else 0)

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    x,t=map(int, input().split())
    print(max(0,x-t))
resolve()

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if t >= x:
    print(0)
else:
    print(x-t)

Submission status: Accepted

Solution code:
def resolve():
  x, t = map(int, input().split())
  print(max(x-t, 0))
  return

if __name__ == "__main__":
  resolve()

Submission status: Accepted

Solution code:
def main():
    x, t = map(int, input().split())
    print(max(x - t, 0))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
print(x-t if x-t > 0 else 0)

Submission status: Accepted

Solution code:
X,T = map(int,input().split())
print(max(X-T,0))

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
print(max([x-t,0]))

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7

x,a=MI()
print(max(x-a,0))

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
print(X-t)if X>t else print(0)

Submission status: Accepted

Solution code:
X,t = map(int,input().split())

print(max(0,X-t))

Submission status: Accepted

Solution code:
x,t = map(int, input().split())
if x >= t:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:
s,t = map(int,input().split())

if s <= t:
  print(0)
else:
  print(s-t)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
print(x-t)if x>t else print(0)

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
print(X-t if X-t>0 else '0')

Submission status: Accepted

Solution code:
X,t = map(int, input().split())
print(max(0, X - t))

Submission status: Accepted

Solution code:
X, t = map(int, input().split())

if (X - t) >= 0:
    print((X-t))
else:
    print(0)

Submission status: Accepted

Solution code:
x, t = list(map(int, input().split()))
print(0) if t >= x else print(x - t)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
if x-t >0:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:

def resolve():
    X, t = list(map(int, input().split()))
    print(max(0, X - t))


if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
x,t=[int(i)for i in input().split()]
if x>t:
  print(x-t)
else:
  print('0')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
input=lambda: sys.stdin.readline().rstrip()
YesNo=lambda b: bool([print('Yes')] if b else print('No'))
YESNO=lambda b: bool([print('YES')] if b else print('NO'))
int1=lambda x:int(x)-1

def main():
    X,t=map(int,input().split())
    ans=X-t
    print(ans if ans>=0 else 0)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
print([x-t,0][int(0>=x-t)])

Submission status: Accepted

Solution code:
k=eval(input().replace(" ","-"));print(max(0,k))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x >= t:
    print(x-t)

elif x < t:
    print("0")

Submission status: Accepted

Solution code:
def resolve():
    x,t=map(int,input().split())
    print(x-t if x-t>=0 else 0)
resolve()

Submission status: Accepted

Solution code:
X, t = map(int,input().split())
print(max(X-t, 0))

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
if X-t>=0:
  print(X-t)
else:
  print(0)

Submission status: Accepted

Solution code:
x,t=map(int, input().split())

A=x-t

if A>=0:
  print(A)
else:
  print(0)

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print (x-t) if x >= t else print (0)

Submission status: Accepted

Solution code:
x,y = map(int,input().split())
if y > x:
  print(0)
else:
  print(x-y)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(a-b if a-b >0 else 0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
if X < t:
  print(0)
else:
  print(X-t)

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print(x-t if x-t>0 else 0)

Submission status: Accepted

Solution code:
x,t=map(int,input().split())

if x>t:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
X,t=map(int, input().split())
if X<t:
  print(0)
else:
  print(X-t)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())

print(max(0, X - t))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if (x-t)>=0:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
if X<t:
    print(0)
else:
    print(X-t)

Submission status: Accepted

Solution code:
x,t = list(map(int,input().split()))
print(max(0,x-t))

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(0 if X <= t else X-t)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a > b:
  print(a-b)
else:
  print(0)

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
print(x-t if x>=t else 0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if(x>t):
    print(x-t)
else:
  print("0")

Submission status: Accepted

Solution code:
s, t = map(int, input().split())

print(max(s-t, 0))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
ans = 0 if x < t else x - t
print(ans)

Submission status: Accepted

Solution code:
x, t = map(int,input().split())

if ( x - t ) > 0:
  print(x-t)
  
else:
  print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
if X>t:
  print(X-t)
else:
  print(0)

Submission status: Accepted

Solution code:
icase=0    
if icase==0:
    x,t=map(int,input().split())
    if x>t:
        print(x-t)
    else:
        print(0)

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
if x >= t:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:
def main():
    x, t = map(int, input().split())

    if x - t >= 0 :
        print(x - t)
    else:
        print(0)
main()

Submission status: Accepted

Solution code:
x,t=map(int,input().split())
p=x-t
if (x-t)<0:
  p=0
print(p)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())

if x - t >= 0:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if (a > b):
    print(a - b)
else:
    print(0)

Submission status: Accepted

Solution code:
X,t=map(int,input().split())
print(X-t) if X>=t else print(0)

Submission status: Accepted

Solution code:
X,t = map(int,input().split())

print(X-t if(X-t)>0 else 0)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
print(0 if x-t<=0 else x-t)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
ans = max(0, x - t)
print(ans)

Submission status: Accepted

Solution code:
X,t = map(int,input().split())

if X >= t:
    print(X-t)
else:
    print(0)

Submission status: Accepted

Solution code:
x = [int(x) for x in input().split()]
print(max(0,x[0]-x[1]))

Submission status: Accepted

Solution code:
x,t = map(int,input().split())
if x>=t:
    print(x-t)
else:
    print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(max(0,X-t))

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if (x - t) <= 0:
    print('0')
else:
    print(x-t)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
print(X-t if X >=t else '0')

Submission status: Accepted

Solution code:
n, m = map(int, input().split())
print(n-m) if n >= m else print(0)

Submission status: Accepted

Solution code:
X, t = map(int, input().split())

ans = X - t
if ans < 0:
    ans = 0
print(ans)

Submission status: Accepted

Solution code:
x, t = map(int, input().split())
if x - t < 0:
  print(0)
else:
  print(x-t)

Submission status: Accepted

Solution code:
x,t= map(int,input().split())
if 0<x-t:
  print(x-t)
else:
  print(0)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
print(max(0, a-b))

Submission status: Accepted

Solution code:
print(max(eval(input().replace(" ","-")),0))

Submission status: Accepted

Solution code:
X, t = map(int, input().split())
R = X - t
if (R > 0):
    print(R)
else:
    print(0)

Submission status: Accepted

Solution code:
x,t = map(int, input().split())

print(max(0, x-t))

Submission status: Accepted

Solution code:
X,t = map(int,input().split())
 
if t >= X:
  print(0)
else:
  print(X-t)

Submission status: Accepted

Solution code:
x,t=[int(i) for i in input().split()]


if x<t:
    print(0)
else:
    print(x-t)