import java.text.*; 
  
class tod 
{ 
  int hour; 
  int minute; 
  int second; 
} // tod 
  
public class TodTest 
{ 
  static void printTod(tod t) 
  { 
    System.out.print("" + new DecimalFormat("00").format(t.hour)); 
    System.out.print(":" + new DecimalFormat("00").format(t.minute)); 
    System.out.print(":" + new DecimalFormat("00").format(t.second)); 
  } // printTod 
  
  public static void main(String[] argv) 
  { 
    tod noon = new tod(); 
    noon.hour = 12; 
    printTod(noon); 
  } // main 
} // main 
