import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static int x;
public static void main(String[] args) throws Exception {
x = 30 * 60 + 9;
System.out.println(x);
while(x != 0){
x = x -1;
show();
}
}
public static void show(){
int hh = x /60;
int ss = x - hh * 60;
int hht1 = hh % 100 /10;
int hht2 = hh % 10;
int sst1 = ss % 100 /10;
int sst2 = ss % 10;
System.out.println("--------------");
System.out.print(hht1);
System.out.print(hht2);
System.out.print(sst1);
System.out.println(sst2);
System.out.println("--------------");
}
}
https://paiza.io/projects/FJ_pxjUT07pv51Ab7TWA4w