Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

## PIZZAS - Pizza (challenge)

Abotrika is having a party because his team won the african cup so he is inviting his friends to eat some pizza. Unfortunately, Abotrika's friends can't eat an entire pizza but all of them know exactly how much pizza they can eat and insist on getting the exact amount of pizza but Abotrika eats one complete pizza and all of them wants his amount of pizza in one slice.

Their requests break down to three different pizza slices-either one quarter or a half or three quarters of pizza. Write a program that will help Abotrika to find out what is the minimal number of pizzas he has to order so that everyone gets exact amount of pizza they want.

### Input

First line contains an integer N (0<=N<=10,000), number of friends. In each of next N lines there is amount of pizza that each of Abotrika's friends wants to eat, that is the fraction 1/4, 1/2 or 3/4.

### Output

In the first and only line you should write the minimal number of pizzas Abotrika has order.

Don't forget to order one complete pizza for Abotrika.

### Examples

Input:
3
1/2
3/4
3/4
Output: 4

Input:
5
1/2
3/4
1/2
1/4
1/4
Output:
4

 Added by: Piotr Kąkol Date: 2010-08-19 Time limit: 5.039s Source limit: 50000B Memory limit: 1536MB Cluster: Cube (Intel G860) Languages: All except: NODEJS OBJC SCM qobi VB.NET Resource: Copy of Mohamed Maher's task EGYPIZZA.