// B: Chocolate
"use strict";

const DEBUG_MODE = false;
const rawInput = DEBUG_MODE
  ? "5\n30 44\n26\n18\n81\n18\n6"
  : require("fs")
      .readFileSync("/dev/stdin", "utf8")
      .trim();

const process = inputRaw => {
  const inputs = inputRaw.split("\n");
  const participantCount = parseInt(inputs[0]);

  const trainingCampMetadata = inputs[1].split(" ");
  const dayCount = parseInt(trainingCampMetadata[0]);
  const remainingChocolateCount = parseInt(trainingCampMetadata[1]);

  const participantConsumptionList = inputs
    .slice(2, participantCount + 2)
    .map(item => parseInt(item));

  console.log(
    participantConsumptionList.reduce(
      (acc, curr) =>
        acc + Math.floor(dayCount / curr) + (dayCount % curr === 0 ? 0 : 1),
      remainingChocolateCount
    )
  );
};

process(rawInput);
