need_hm = 190
need_rd = 19
hm_t_g = 100000 * 190 = 19000000
rd_t_g = 250000 * 19 = 4750000
need_g = hm_t_g + rd_t_g = 23750000
need_rd = 19
hm_t_g = 100000 * 190 = 19000000
rd_t_g = 250000 * 19 = 4750000
need_g = hm_t_g + rd_t_g = 23750000
oc_avg = (7800 + 7800 + 7800 + 7800 + 5600) / 5 = 7360
eo_oc = 200
eo_oc = 200
eo_fm = 10
eo_g = (oc_avg * earnings_once_oc) + (8000 * eo_fm) = 1472000 + 80000 = 1552000
rest_time = need_g / eo_g = 15eo_g = (oc_avg * earnings_once_oc) + (8000 * eo_fm) = 1472000 + 80000 = 1552000