Problem: Design a Greedy algorithm to allocate limited research grants to university departments where each department has varying success rates, funding needs, and potential breakthroughs. Maximize total research output while minimizing financial risk.