public int leastMajorityMultiple(int a, int b, int c, int d, int e) {
		int x = 1;
		while (true) {
			int count = 0;
			count += (x % a == 0 ? 1 : 0);
			count += (x % b == 0 ? 1 : 0);
			count += (x % c == 0 ? 1 : 0);
			count += (x % d == 0 ? 1 : 0);
			count += (x % e == 0 ? 1 : 0);
			if (count >= 3) {
				return x;
			}
			x++;
		}

	}