public class Main{
    
	
	    public static void main(String[]args)
	    {
	        int[] a=new int[1024];
	        Scanner sc=new Scanner(System.in);
	        while(sc.hasNextInt())
	        {
	            
	            a[0]=sc.nextInt();
	            a[1]=sc.nextInt();
	            a[2]=sc.nextInt();
	            
	       }
	       
	        
	         int year=a[0];
	            int month=a[1];
	            int day=a[2];
	         TDate td=new TDate(day, month,year);
	        td.print();
	    }
	     static class TDate {
	        private int Month = 0;
	        private int Day=0;
	        private int Year=0;
	 
	        public TDate(int day, int month, int year) {
	            this.Month = month;
	            this.Day = day;
	            this.Year = year;
	        }
	 
	        public void print() {
	            System.out.println(Day + "/" + Month + "/" + Year);
	        }
	     }
	    }