Олимпиадный тренинг

Задача 23362. sensor


Задача

Темы:
Artem creates an interactive sensor for playing dice. The sensor is built into the table and can count the total number of points on the edges of all rolled dice adjacent to the sensor (that is, on the bottom edges). Later, Artem realized that for the game you need to calculate the sum not on the lower, but on the upper faces. Artem wants to write a program that, given the sum on the lower faces, can find the number of different possible sums on the upper faces. But since Artyom is not good at programming, he entrusts this task to you.

The sensor outputs a number s equal to the total number of dots on the lower faces of the dice.
All thrown dice are six-sided and satisfy the condition of a regular dice, that is, the sum of the points on opposite sides of the die is seven (1 and 6, 2 and 5, 3 and 4). You need to find the number of possible sums on the top faces of the cubes.

Input data format
The first line of the input file contains the number s  the sum on the bottom faces of the bones.
Output format
Print one number: the number of different possible sums on the upper faces of the bones.
Enter Output
2 2
4 4

Explanation for example
In the first example, 1 + 1 or 2 could fall on the lower faces, sums on the upper faces 12 and
5, respectively.