print(eval("max(0,100*(10-"+input().replace(" ","))+"))) print(eval("max(0,100*(10-"+input().replace(" ","))+"))) print eval("max(0,100*(10-"+input().replace(" ","))+")) eval "max(0,100*(10-"+input().replace(" ","))+") "max(0,100*(10-" input().replace(" ","))+") ().replace () input replace " " "))+"
print(eval("max(0,100*(10-"+input().replace(" ","))+")))