Today, you're going to be writing Polish. No, not Polish notation—Polish, the actual language spoken in Poland.
Given a number and a noun, output a Polish sentence telling me that there are that many of that thing, using the appropriate template below.
The input consists of an integer in the range from 0 to 200, and a string of 1 to 10 lowercase ASCII letters (the "input noun"). You may accept these inputs in any reasonable format.
The output must consist of one of the below output templates, where the number in the template (if any) has been replaced with the input integer, and the word kot
in the template has been replaced with the input noun.
Output templates
If the input number is 0, then use the output template
Nie ma żadnych kotów.
If the input number is 1, then use the output template
Jest 1 kot.
If the input number ends with 2, 3, or 4, but does not end with 12, 13, or 14, then use the output template
Są 4 koty.
In any other case, use the output template
Jest 8 kotów.
Note that the special characters used in these templates are:
- ż (in "żadnych") – U+017C Latin small letter Z with dot above (ż)
- ó (in the suffix "-ów") – U+00F3 Latin small letter O with acute (ó)
- ą (in "Są") – U+0105 Latin small letter A with ogonek (ą)
You may output these characters in any reasonably common character encoding (including HTML entities), and you may use combining characters instead of precomposed characters (or even a mixture of the two).
Note that in ISO-8859-2, all ASCII characters as well as the three special characters above are represented with one byte. Therefore, if your program uses no non-ASCII characters besides these three, then you can count each of these three characters as one byte.
Test cases
0 pomidor -> Nie ma żadnych pomidorów.
1 kwiat -> Jest 1 kwiat.
2 dom -> Są 2 domy.
5 wilk -> Jest 5 wilków.
13 komputer -> Jest 13 komputerów.
24 but -> Są 24 buty.
101 kurczak -> Jest 101 kurczaków.
104 wieloryb -> Są 104 wieloryby.
112 post -> Jest 112 postów.
122 balon -> Są 122 balony.
Do plurals in Polish really work that way?
No, plurals in Polish are actually a lot more complicated than this.
This is code-golf, so the shortest program in each language wins.