题解 | #牛牛的快递#
牛牛的快递
http://www.nowcoder.com/practice/41b42e7b3c3547e3acf8e90c41d98270
a, b = input().split()
if b == "y":
if float(a) % 1 > 0:
print(int(20 + 5 + ((float(a) - 1) // 1 + 1)))
else:
print(int(20 + 5 + ((float(a) - 1) // 1)))
else:
if float(a) % 1 > 0: # 当余数大于0(有小数剩余时)+1
print(int(20 + ((float(a) - 1) // 1 + 1)))
else:
print(int(20 + ((float(a) - 1) // 1)))