Take the first word also in the total steps


#1

though accoding to the given qn description we don’t have count the first word but sadly it will give WA.


#2

thanks your suggestion helped