P9688 [AOJ] Clock
普及
题目描述

Problem

Gaccho has his favorite watch. One day the minute hand of the clock came off and I lost it somewhere. However, Gaccho wants to keep using the watch and wants to read the time with only the short hand.

Output the time (hour h, minute m) for the information θ of the short hand. A clock is a so-called analog clock, in which numbers 1 to 12 are arranged clockwise at regular intervals in ascending order.

Constraints

  • 0 ≤ θ ≤ 359

Input

The input is given in the following format.

θ

An integer representing the angle θ of the short hand is given in one line in degrees. The direction pointed by the short hand is the direction rotated by θ degrees clockwise when the direction pointing to 12 o'clock is 0 degrees.

Output

The time when the hour hand takes a given angle
h m
Output in one line in the form of.

Since there is no distinction between morning and afternoon in the time, 0 ≤ h ≤ 11 is set.

Examples

Input

0

Output

0 0

Input

45

Output

1 30

Input

100

Output

3 20

输入格式

见题面

输出格式

见题面

样例输入
100
样例输出
3 20