mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-09 16:28:47 +00:00
18 lines
No EOL
240 B
Text
18 lines
No EOL
240 B
Text
global n;
|
|
|
|
n := read ();
|
|
|
|
repeat
|
|
|
|
if n == 1 then write (0)
|
|
elif n == 2 then write (1)
|
|
elif n == 3 then write (2)
|
|
elif n == 4 then write (3)
|
|
else write (10)
|
|
fi;
|
|
|
|
if n >= 5 then write (11) fi;
|
|
|
|
n := n - 1
|
|
|
|
until (n == 0) |