АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

1025. A74

Time Limit: 1 seconds
Memory Limit:65536KB
Points:2
View Problem Statistics Submit Problem added Undefined

Дано натуральное n (n<=100), обозначающее возраст человека в годах.

Дать для этого числа наименования "год", "года" или "лет".

Input

Действительное число n.

Output

Слово "god", "goda" или "let"

Sample

InputOutput
Пример 1. Вход:
1
Пример 1. Выход:
god

View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
986. A68b 1025. 1045. A77v 1047. A78B 1018. A83b
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.11 sec.
© Copyright VSTU, AVT, Nosov D.A.