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