Man standing on middle rung of a ladder

He steps up 3 rungs

He climbed down 5 rungs

He stepped up 7 rungs

Then he climbed the remaining 6 rungs

How many rungs did the ladder have?