at the end of the loop a=50 and b=25