While depositing the money in the bank using CDM, it may happen that your cash gets stuck in the machine…