#!/usr/bin/python3 import sys import re for line in sys.stdin: if not re.search(r'19\d{2} r\.',line) == None: print(line, end ='') else: pass