fork download
  1. for n in range(1,10):print(3*n+1if n%2else n//2)
  2. # your code goes here
Success #stdin #stdout 0.02s 8736KB
stdin
Standard input is empty
stdout
4
1
10
2
16
3
22
4
28