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: 115ms
Memory: 21456kB
Author: 15869667206
In contest: 1087

#!/usr/bin/python
# -*- coding: UTF-8 -*-

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