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