Charity deduction question

Moe Co. made cash contributions totaling $50,000 during the year. Before calculating its charitable deduction, Moe had taxable income of $350,000 after a $45,000 dividends-received deduction. What amount may Moe take as a charitable contribution deduction? Can Moe deduct the whole $50K since it's cash? Thanks.