两行搞定! a, b, c, d = input(), input(), input(), input() print(a + "'s student number is " + b + ", and his grade is " + c + ". He submitted " + str(len(d.split())) + " assignments, each with a grade of " + d)