public static void sundaysInYears() {
		int[] daysOfMonth = {31,28,31,30,31,30,31,31,30,31,30,31};
		int day = 2;
		int forste = 0;
		for (int year = 1901; year <= 1999; year++) {
			for (int month = 0; month < daysOfMonth.length; month++) {
				for (int j = 1; j <= daysOfMonth[month] + ((month == 1 && year % 4 == 0)?1:0); j++) {
					day++;
					if(day == 8)
						day = 1;
					if (day == 1 && j == 1) {
						forste++;
						System.out.println(month+1);
					}
//					System.out.println(j);
				}
			}
		}
		System.out.println(forste);
	}