if __name__ == "__main__": num = 25070171 limit_up_price = 5.1 if limit_up_price: money_y = round((num * float(limit_up_price)) / 1e8, 1) money = int(200 * money_y + 280) count = int(money_y * 10) // 10 + 3 print( money, count)