Company: American Express
Difficulty: medium
Archive File Query Problem Description You are given a string describing a detailed list of files. Your task is to evaluate a simple query on a certain subset of these files. The list consists of `N` lines. Each line holds the information about one file, grouped into three columns -- **date**, **size** and **name**, in that order. The first two columns have fixed lengths and every pair of adjacent columns is separated by exactly one space: The **date** column has length 10 and contains the last modification date of the file in the format `yyyy-mm-dd`. The **size** column has length 10 and contains the size of the file in bytes, written in decimal and aligned to the right (padded on the left with spaces). The size is less than 2^31 bytes. The **name** column is the last column and is of variable length. It contains the name of the file, which consists of at most 255 printable ASCII characters and contains at least one dot character. The part of the name after the last dot is called the