Mushroom Picking
Limits: 2 sec., 512 MiB
Zenyk and Marichka want to go to the forest to pick mushrooms.
Everybody knows that it is only worth going to the forest for mushrooms after rain.
It is known whether it rained last night.
Help Zenyk and Marichka decide whether it is worth going mushroom picking today.
Input
The only line contains TAK (Ukrainian for yes) if it
rained last night, or NI (Ukrainian for no) if it did
not.
Output
Print TAK if it is worth going mushroom picking, or
NI otherwise.
Constraints
The input line is TAK or NI.
Samples
| Input (stdin) | Output (stdout) |
|---|---|
| TAK | TAK |
Notes
In the example, it rained last night, so Zenyk and Marichka should go mushroom picking.
Source: Algotester Beginners Contest 2026
Submit a solution
| Element Type | Created | Who | Problem | Compiler | Result | Time (sec.) | Memory (MiB) | # | Actions |
|---|
| Element Type | Created | Who | Problem | Compiler | Result | Time (sec.) | Memory (MiB) | # | Actions |
|---|