Some error occured while loading page for you. Please try again.
We're going to make our own Contacts application! The application must perform two types of operations:
Given sequential add and find operations, perform each operation in order.
The first line contains a single integer, , denoting the number of operations to perform.
Each line of the subsequent lines contains an operation in one of the two forms defined above.
For each find partial operation, print the number of contact names starting with on a new line.
We perform the following sequence of operations: