#C14070. License Plate Validation

    ID: 43679 Type: Default 1000ms 256MiB

License Plate Validation

License Plate Validation

You are given a string representing a license plate number. The license plate is considered valid if and only if it meets the following criteria:

  • The length of the string is exactly 6 characters.
  • The first three characters are uppercase English letters (A-Z).
  • The last three characters are digits (0-9).

Your task is to write a program that reads a license plate from standard input and prints True if the plate is valid, otherwise prints False.

For example:

Input: ABC123
Output: True

inputFormat

The input consists of a single line containing the license plate string. The string does not contain spaces.

outputFormat

Output a single line with either True or False depending on whether the license plate is valid.

If the plate satisfies all conditions, output True; otherwise, output False.

## sample
ABC123
True