Problem 1001: Accounting Woes

(ACM S.E. U.S.A. Regional 2003, problem 1)

Description

Tim's Theatre is a small movie theatre associated with the global corporation Entertainment and Recreational Amphitheatres, United (ERAU). For years, all ERAU has wanted in Mike's monthly reports is the number of people attending each screening and the total spent on tickets for the screening.

Recently, ERAU has decided they want to know how many Adult and Child tickets were sold for each screening as well. Unfortunately, Tim's cashiers have not saved this information. But, since Tim knows he never sells a negative number of tickets and Adult tickets always cost $7 and Child tickets always cost $3, the number of tickets of each kind can be determined. You need to write a program to determine how many Adult and Child tickets were sold for each screening.

Input Format

The input will consist of information for two or more screenings, one screening per line. Each screening's information will consist of two integers n and t (0 <= n, t <= 1000): the number of tickets sold and the total spent on tickets. There will be at least one blank between the numbers and possible blanks at the end of the line. There will be no other characters on the line, and the line length is limited to 80 characters.

The last line of input will be a line with just the values 0 0. This line should not be processed.

Output Format

Each line of input should generate a line with the screening number, starting with 1, followed by a colon (':') and the number of Adult and Child tickets in the format shown in the sample output. If the number cannot be determined (because the cashier made a mistake), print a message stating "cannot determine count".

Sample Input

20 100
6 30
7 61
100 700
0 0

Sample Output

Screening 1: 10 Adult, 10 Child
Screening 2: 3 Adult, 3 Child
Screening 3: cannot determine count
Screening 4: 100 Adult, 0 Child

End of Problem