public class Month {
public static void main(String[] args) {
double JANUARY;
System.out.println("\t\t\tЯнварь");
System.out.println("");
for (int i = 1; i < 8; i++) {
System.out.print(i + "\t");
}
System.out.println();
for (int i = 8; i < 15; i++) {
System.out.print(i + "\t");
}
System.out.println();
for (int i = 15; i < 22; i++) {
System.out.print(i + "\t");
}
System.out.println();
for (int i = 22; i < 29; i++) {
System.out.print(i + "\t");
}
System.out.println();
for (int i = 29; i < 32; i++) {
System.out.print(i + "\t");
}
}
}