Pause on specialframes

Got the idea from the gif at http://www.explainxkcd.com/wiki/index.php?title=1190

Not really sure, if the time it pauses matches the seconds in the input...