题解 | #汽水瓶#
汽水瓶
http://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
# 规律:除以2,再向下取整
import math
while True:
try:
n = int(input())
if n == 0:
break
else:
m = math.floor(n/2)
print(m)
except:
break