public static void main(String[] args) {
		//10,4,14,9,5
		long start = System.currentTimeMillis();
		int base = 15;
		int count = 0;
		for (int a = 0; a < base; a++) {
			for (int b = 0; b < base; b++) {
				for (int c = 0; c < base; c++) {
					for (int d = 0; d < base; d++) {
						for (int e = 0; e < base; e++) {
							if (a==b && a==c && a==d && a==e) continue;
							count+=sb(base, a,b,c,d,e);
						}
					}
				}
			}
		}
		System.out.println(count + " ("+(System.currentTimeMillis()-start)+"ms)");
	}