salary = int(input("salary: ")) credit = int(input("credit: ")) comm_u = int(input("service: ")) obd = (salary - credit - comm_u) print(obd)