Output every certain lines.

Please read our rules which state:

(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.

and

(6) Do not post classroom or homework problems.