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.

EIDUPBOD - Same birthday

Given a list of N students. List dates of birth and the number of students on that date. Birthdays are listed in ascending order.

Input

The first line shows the number of students N (N<=10^5).

The ith line in the following N lines is the date of birth of the ith student. Birthdate consists of 3 integers respectively date of birth. All birthdays are valid.

Output

List each date of birth and the number of students on the same date on one line. Birth date as DD/MM/YYYY.

Example

Input:
5
10 3 1993
15 2 1995
15 2 1995
10 2 1994
10 3 1993
Output:
10/03/1993 2
10/02/1994 1
15/02/1995 2

Added by:Ha Minh Ngoc
Date:2017-12-21
Time limit:1s-2s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.