# 第一題
def kg(w):
print(str(float(w)/1000)+'kg')
t=input('請輸入數(shù)字:')
kg(t)
# 第二題
def hide(name):
print(name.replace(name[1:],'*'*(len(name)-1)))
t=input('請輸入姓名:')
hide(t)
# 第一題
def kg(w):
print(str(float(w)/1000)+'kg')
t=input('請輸入數(shù)字:')
kg(t)
# 第二題
def hide(name):
print(name.replace(name[1:],'*'*(len(name)-1)))
t=input('請輸入姓名:')
hide(t)