Boss: word, then how many

Complete the previous lesson to unlock this one.

Back to the path

Boss: word, then how many

Level 11: Exact lines. The mark is the whole line. Extra words, or a missing space around x, fail the check.

Read a word, then an integer. Output one line:

word x count

Example: input apple then 4 → apple x 4.