random puzzles & input puzzle