World Tour Contest Problem 2 — Fireplace Poker

View as PDF

Submit solution

Points: 5
Time limit: 1.0s
Memory limit: 64M

Problem type

You were able to break the curse, but not before you were transported elsewhere. (Or maybe you didn't manage to break it, in which case you deserved this.) You found yourself in a country of red flags, and you realized that this must be the far-away land called the Soviet Union. Since the last time you checked, it was 2021, it must mean you were transported through time as well. You decided to treat this as a working holiday and start earning some money to keep yourself fed while you ponder your next moves. So you applied to work in a factory, and they decided to hire you.

This factory has x fireplaces. The factory is in desperate need of some fireplace pokers, one for each fireplace. The State, of course, is willing to supply the pokers free of charge, this being a state-owned factory, after all. All that is needed to get the pokers is to fill out a form for the bureaucrats. Unfortunately, an unimaginable disaster will befall the entire factory should the form be filled out incorrectly. The spelling and grammar have to be perfect. Even more unfortunately, there is currently a shortage of paper, so there's only one form left. As such, no mistakes could be tolerated. You, the most educated worker in the factory, have been summoned to fill out this form.

You look at the form, and the first field asks for the item(s) to be requisitioned. You just need to fill in "x fireplace pokers", in the Russian language, of course. You stare at the field, wondering what to do. You remember the word for fireplace poker is кочерга. Can you fill out the field and keep your job?

Input Specification

The only line of the input will contain x (1 \le x \le 10^{1000}), the number of fireplaces in the factory.

Output Specification

One grammatically correct line to fill into the field for item(s) to be requisitioned, i.e. the phrase "x fireplace pokers" in Russian. Your output should be UTF-8.

Sample Input 1


Sample Output 1

1 кочерга

Sample Input 2


Sample Output 2

2 кочерги


There are no comments at the moment.