#C13597. Extracting the Banana Value

    ID: 43152 Type: Default 1000ms 256MiB

Extracting the Banana Value

Extracting the Banana Value

Given a dictionary representing various fruits and their integer values, your task is to output the integer value associated with the key banana. Each input will start with an integer n representing the number of fruit entries, followed by n lines each containing a string (the name of the fruit) and an integer (its value), separated by space. It is guaranteed that one of the fruits is banana, and its value could be negative.

Note: The dictionary can be thought of as a mapping \(\{ key : value \}\). Your solution should simply extract the value of the key banana and print it.

inputFormat

The first line contains a single integer n denoting the number of key-value pairs. Each of the next n lines contains a string and an integer separated by a space representing a key and its corresponding value.

It is guaranteed that one of the keys is banana.

outputFormat

Output a single integer --- the value corresponding to the key banana.

## sample
3
apple 1
banana 2
cherry 3
2