eolymp
bolt
Try our new interface for solving problems
Problems

Gnome’s toys

Gnome’s toys

Time limit 1 second
Memory limit 64 MiB

Gnomes freely operate of counting systems with separate bases, but they have found it in daily trainings. For this reason every morning at gnomes begin with transfering in other counting systems current calendar date. Your task precisely same: transfer the date D/M/Y in system of counting with a basis of D+1.

For any number greater than 9 using large letters in alphabetical order.

Input data

One line. The date in format of D/M/Y is written down in decimal system of counting.

Output data

One line. The date in format of D/M/Y is written down in system of counting with a basis of D+1.

Examples

Input example #1
1/10/2000
Output example #1
1/1010/11111010000
Author Анатолий Присяжнюк