Football#11325

Football

1 Sekunde
128 Megabyte
Leicht

Scientists are researching an impact of football match results on the mood of football fans. They have a hypothesis that there is a correlation between the number of draws and fans' desire to watch football matches in the future.

In football, two teams play a match. The teams score goals throughout a match. A score "x:y" meansthat the team we observe scored goals and conceded goals. If x = y, then the match ends in a draw. If x > y, then the observed team wins, and if x < y, then it loses.

To find out if there is a correlation, the scientists gathered information about the results of teams in lower leagues. The information they found is the number of matches played by the team (), the number of goals scored in these matches (), and the number of goals conceded in these matches ().

You are given this information for a single team. You are asked to calculate the minimum number of draws that could have happened during the team's matches and provide a list of match scores with the minimum number of draws.

Eingabe

The first line contains an integer (1 \leq n \leq 100) - the number of matches played by the team. The second line contains an integer (0 \leq a \leq 1000) - the total number of goals scored by the team in all matches. The third line contains an integer (0 \leq b \leq 1000) - the total number of goals conceded by the team in all matches.

Ausgabe

In the first line, print a single integer - the minimum number of draws.

In the following lines, print a list of match scores, each line in the format "x:y", where is the number of goals scored in the match, and - the number of goals conceded, so that exactly of these matches have ended in a draw. In case multiple such lists of match scores exist, print any of them.

Beispiele

Beispiel 1

Loading
Loading

Beispiel 2

Loading
Loading

Beispiel 3

Loading
Loading

Beispiel 4

Loading
Loading