`assign("place", switch(r, 1, 120, 2, 100, 3, 80, 4, 60, 5, 50, 6, 40, 7, 30, 8, 20, 9, 10, 6, 11, 6, 12, 6, 13, 6, 14, 6, 15, 6, 16, 6, 17, 6, 18, 6))`

assign("prize", 1.1 + (floor(prizePool / 50) * 0.1))

assign("entrants", if(n < 10, 0.5, if(n > 9 && n < 20, 0.6, if(n > 19 && n < 30, 0.7, if(n > 29 && n < 50, 0.8, if(n > 49 && n < 75, 0.9, if(n > 74 && n < 100, 1, if(n > 99 && n < 125, 1.1, if(n > 124 && n < 150, 1.2, (1.2 + (floor((n-100) / 50) * 0.1)))))))))))

if(inTheMoney, round(place * prize * entrants), 5)