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

words=raw_input().strip().split()
for word in words:
    if word[0]=='Q' or word[0]=='q':
        print word