Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type
WCIPEG 2017-2018 Test

Shia LaBeouf, a renowned forensic scientist, is analyzing video footage from the inside of a TTC bus. The dates on which each video were recorded have been lost. However, in each video, the transfer holder can be clearly seen. The front and back of a TTC bus transfer has the day of the year printed on it. For example, January 1 is written as 001, and February 1 is written as 032.

Labeouf wants a program to get the date of each video. Given the day of the year and the year, write a program which outputs the date.

Input Specification

The only line of input contains a single integer N (1 \le N \le 365), the day of the year.

Output Specification

Output the date corresponding to each day of the year given in the format MM/DD, one per line. Assume that the year will never be a leap year.

Sample Input 1

001

Sample Output 1

01/01

Sample Input 2

059

Sample Output 2

02/28

Comments

There are no comments at the moment.