Problem: Design a Greedy algorithm to allocate limited research grants to university departments where each department has varying project timelines, success probabilities, and societal impact. Maximize total research output while minimizing financial risk.