height,weight = eval(input(""))
BIM = weight/(pow(height,2))
print("BMI数值为:{:.2f}".format(BIM))
if BIM<=18.5:
print("BMI指标为:国际'偏瘦',国内'偏瘦'")
elif BIM>18.5and BIM<=24:
print("BMI指标为:国际'正常',国内'正常'")
elif BIM>24 and BIM<=25:
print("BMI指标为:国际'正常',国内'偏胖'")
elif BIM>25 and BIM<=28:
print("BMI指标为:国际'偏胖',国内'偏胖'")
elif BIM>28 and BIM<=30:
print("BMI指标为:国际'肥胖',国内'偏胖'")
else:
print("BMI指标为:国际'肥胖',国内'肥胖'")
from random import random, seed
DARTS = eval(input())
seed(123)
hits = 0.0
for i in range(DARTS):
x, y = random(), random()
dist = pow(x ** 2 + y ** 2, 0.5)
if dist <= 1.0:
hits = hits + 1
pi = 4 * (hits/DARTS)
print("{:.6f}".format(pi))
sum = 0
for i in range(967):
if i%2==0:
sum = sum - i
else:
sum = sum + i
print("{}".format(sum))
s=""
for i in range(100,1000):
t=str(i)
if pow(eval(t[0]),3)+pow(eval(t[1]),3)+pow(eval(t[2]),3)==i:
s+="{},".format(i)
print(s[:-1])
a=0
for i in range(3):
name=input()
password=input()
if name=="Kate" and password=="666666":
a=1
print("登录成功!")
break
if a==0:
print("3次用户名或者密码均有误!退出程序。")