Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第三次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: B
Result: Accepted
Time: 126ms
Memory: 21456kB
Author: 13738033040
In contest: 1087

str=raw_input().strip().split()
for str1 in str:
	if str1[0]=="Q" or str1[0]=="q":
		print str1