// // given a CP time, convert this to time, day, semester ... just as a test // public class Test { public static void main(String[] args) { int t = Integer.parseInt(args[0]); System.out.println(t +" -> hour: "+ (t%8+9) +" day: "+ ((t/8)%5) +" semester: "+ t/40); } }