#!/usr/bin/python3 import sys, re for line in sys.stdin: if (re.search(r'[A-Z][0-9][0-9]', line)): print('true') else: print('false')