0 / 60 seg.

Do the same but read input text from stdin