| Task: | Lukujono |
| Sender: | OK123 |
| Submission time: | 2025-10-29 14:15:59 +0200 |
| Language: | text |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | WRONG ANSWER | 0 |
| test | verdict | time | score | |
|---|---|---|---|---|
| #1 | WRONG ANSWER | 0.00 s | 0 | details |
Code
x=int(input())
print(x)
while x!=1:
if x%2==0:
x=x//2
else:
x=3*x+1
print(x)