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

#!usr/bin/python
#-*- coding: UTF-8 -*-
li=map(str,raw_input().strip().split())
for m in li:
	a=m[0]
	if a=="q" or a=="Q": print m