📅  最后修改于: 2022-03-11 14:45:52.621000             🧑  作者: Mango
num = input()
xzoj = 0
zoj = 0
fard = 0
xfard = 0
for i in range(len(num)):
if int(num[i]) % 2 ==0:
xzoj +=1
zoj += int(num[i])
else :
xfard +=1
fard +=int(num[i])
print(zoj / xzoj)
print(fard / xfard)