# -*- coding:utf-8 -*-
# Question:一个足球队在寻找年龄在10到12岁的小女孩(包括10岁和12岁)加入。编写一个程序,询问用户的性别(m表示男#性,f表示女性)
#和年龄,然后显示一条消息指出这个人是否可以加入球队,询问10次后,输出满足条件的总人数。
#History:
# 2018-05-16 Murphy First release
# enrollment 最终录取人数
#mun 面试人数
enrollment = 0
for num in range(0,10):
sex = str(raw_input("Please input your sex ,m for male f for female: "))
age =int(raw_input("Hi gay,Please input you age : "))
if 10<=age <=12:
enrollment = enrollment + 1
print"congratulations you are admitted"
else:
print "sorry, only children in aged 10-12 can be admitted "
print"there are ",enrollment ,"children be admitted"