Problem C
Esports on my Mind
Languages
en
is
The finals in the Striker-Count competition are finally starting. All the members of ICPS have arrived and the pizza is served. Atli decided to watch the finals despite not being familiar with Striker-Count. So Atli gets Bergur to explain the rules to him.
In Striker-Count two teams of five compete. One of
the teams is called the blue team and the other is the yellow
team. The teams then switch colors at halftime. The team that
wins the game gets a point, and the first team to two point
wins the match. Each match is played on a different map. There
are two bomb sites on each map, which the blue team has to
defend from the yellow team. The goal of the yellow team is to
plant a bomb on the bomb sites. The bomb takes

Input
The first line of the input includes two integer,
Output
The output should include those points the are possible contact points, in increasing order, on one line. If there are no possible contact points print ‘Thessi leikur verdur sennilega leidinlegur’.
Sample Input 1 | Sample Output 1 |
---|---|
5 6 1 5 1 2 5 2 1 3 1 1 1 4 2 1 3 4 1 1 5 2 2 1 5 4 5 1 |
2 |
Sample Input 2 | Sample Output 2 |
---|---|
4 4 1 4 1 2 10 1 1 3 5 1 4 2 5 1 4 3 10 1 |
Thessi leikur verdur sennilega leidinlegur |
Sample Input 3 | Sample Output 3 |
---|---|
13 38 2 10 1 2 2 1 1 11 7 2 1 5 4 1 2 1 2 1 2 3 3 1 3 2 3 1 3 7 2 2 3 4 6 1 4 3 6 1 4 8 7 2 5 1 4 1 5 2 1 1 5 6 4 2 6 5 4 2 6 7 1 1 6 9 8 3 6 12 10 4 7 3 2 2 7 8 8 2 7 9 10 3 8 4 7 2 8 7 8 2 8 10 13 2 9 6 8 3 9 7 10 3 9 10 3 1 9 12 4 2 10 8 16 5 10 9 3 1 10 12 4 2 11 1 7 2 11 12 4 1 11 13 1 1 12 6 10 4 12 9 4 2 12 10 4 2 12 11 4 1 13 11 1 1 |
6 7 8 11 13 |