public int countDoors(int[] doorR, int[] doorG, int[] keys) {
		int count = 0;
		for (int i = 0; i < doorR.length; i++) {
			// ホワイトキーを使用する数
			int diff = doorR[i] - keys[0];
			if (diff < 0) {
				diff = 0;
			}
			int useWhite = keys[2] - diff;
			if (useWhite < 0) {
				continue;
			}

			if (doorG[i] - keys[1] - useWhite > 0) {
				continue;
			}
			count++;
		}
		return count;
	}