needdddd help pleaseeee

who is going to help me with a programur company grows now. And you are trading with many companies. So, you are recording transactions of n companies in a file. Every company transactions are listed in a line with a positive or negative number:debits are negative (you payed for your buys) andcredits are positive (you are paid for what you sell).Because every company have different number of transactions, the transactions end with a 0 (zero). Then, your balance isBalance = (Your income)- (your expenses)

Question: Write a program that is going to calculate the total balance and the company with which you have the most trade (buys + sells).Input specification You will be given an integer (n) the number of companies where 0 ? n ? 2000. Then, in each of the following n lines you will be given:Company ID: a string starting with two letters (from 26 uppercase English chars) and consisting of 4 digitsat most 250 floating point (positive or negative) numbers ending with a 0 (zero).

Output specification: Show two information:Total balance: floating point number with 2 digits precisionThe ID of company with which you have the most trade (buys + sells)Note: If there are several companies with the same most trade amount, show the company which appears the first.