[N,R]=[int(item)for item in input().split()]
print(max(R, R+100*(10-N))) int(item)for item in input().split() for item in input().split() item input().split() ().split () input split for item in input().split() int(item) int item [N,R]=[int(item)for item in input().split()] [N,R] N R [int(item)for item in input().split()] print(max(R, R+100*(10-N))) print max(R, R+100*(10-N)) max R R+100*(10-N) R 100*(10-N) 100 10-N 10 N
[N,R]=[int(item)for item in input().split()]
print(max(R, R+100*(10-N)))