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.
The only line contains an integer *n* (1 ≤ *n* ≤ 10000).
42
1 2
5
0 2
24
0 8
1
0 0
2
0 1
3
0 1
4
0 1
8
0 3
10
0 3
12
0 4
13
0 4
100
2 9
120
3 4
199
5 6
501
13 11
1000
27 9
1233
34 3
9876
274 4
9999
277 9
10000
277 9
35
1 0
71
2 0
def fi(n):
    # n in cm
    
    ft = n//36
    rem = n % 36
    ic = round(rem/3)
    if ic == 12:
        ft +=1 
        ic = 0
        
    return ft,ic
    
    return 
        
#main program
n = int(input())
a,b = fi(n)
print(a,b)
	  	 	 		 		 	 				 	 			 	   	