Import your file to excel - excel or any other spread sheet (open office calc or
libre office calc) can import it to put each number to cell. 
Use formula to add 1 to each cell and find max for each line or find max and
increase max of 1. 
Apread sheed allows you to write formula for one line and copy it into all
lines. 

Instead of writing long adds, you need to put attention to solution of your
problem. I must repeat, if you are not able to solve your problems yourself, you
need to hire somebody who can do it.

-- 
<https://forum.pspad.com/read.php?2,73356,73364>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem