Codeforces Testing Round 2
A
Measuring Lengths in Baden
Codeforces
1400
原题
←B →
翻译中…

Lengths are measures in Baden in inches and feet. To a length from centimeters it is enough to know that an inch equals three centimeters in Baden and one foot contains 12 inches.

翻译中…

You are given a length equal to $*n*$ centimeters. Your task is to convert it to feet and inches so that the number of feet was maximum. The result should be an integer rounded to the closest value containing an integral number of inches.

翻译中…

Note that when you round up, 1 cm rounds up to 0 inches and 2 cm round up to 1 inch.

翻译中…

Input

翻译中…

The only line contains an integer $*n*$ ($1 ≤ *n* ≤ 10000$).

翻译中…

Output

翻译中…

Print two non-negative space-separated integers $*a*$ and $*b*$, where $*a*$ is the numbers of feet and $*b*$ is the number of inches.

翻译中…

样例

Input #1
42
Output #1
1 2
InputCopy OutputCopy
Input #2
5
Output #2
0 2
InputCopy OutputCopy
题目信息
题号
125A
时间限制
2 s
内存限制
256 MB
标签
数学

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。