def calculate_fund_performance(fund_size, portfolio_exits):
total_return = sum(portfolio_exits)
multiple = total_return / fund_size
if multiple >= 3.0:
return f"{multiple}x Return. Top Tier Fund! ๐"
elif multiple >= 1.0:
return f"{multiple}x Return. Money back. ๐"
else:
return f"{multiple}x Return. Loss. ๐"
# A $100M Fund with 20 investments
# 19 companies fail ($0), 1 hits big ($400M)
exits = [0]*19 + [400_000_000]
print(calculate_