Finland after the war was forced to pay the soviet union 225,000,000 (US dollar from 1944) in war reparations, 4.9B in 2023 US dollars. In 1938 Finland had a national GPD of 826.71M in US dollars 2024. But the soviets kept the repayment price of goods set at 1938 prices. So the Finns in reality were forced to pay 6,435.22-7,897.03B in US 20024 dollars. Also Finland was also forced to ceded about 10% of it land mass as well. Here are the wiki links https://en.wikipedia.org/wiki/Finnish_war_reparations_to_the_Soviet_Union https://en.wikipedia.org/wiki/Karelian_question
In 1939 the KGB sent men with artillery over the boarder and fired on one of their own towns. So they could claim Finland attacked first and invade. At this time Finland was neutral. 2 years later the nazis offered to help get rid of the invading Allied soviet forces. Making them now part of the Axis. But inviting the nazi tiger into their house to get rid of the soviet bear was not a good idea. but they felt they had to do something to get back self ruling their country. In 1944 after they signed the peace treaty with Russia that promised the land and reparations. they joined the Allies to get rid of the nazis. You can read more here. https://en.wikipedia.org/wiki/Finland_in_World_War_II
Plus Finland was the only country to pay off all it's reparations. When compared to the other countries that had to pay. Italy 336M 1944 dollars and had 12X the GPD of Finland. Bulgaria, Hungary and Romania were forgiven the debt when they fell under the umbrella of the soviet union.
But as it turns out it was a blessing in disguise, just as was the Crimean war was for Finland. As it forced Finland into the metal and modern metal ship building industry. https://valtioneuvosto.fi/en/-/60-years-after-the-war-reparations
Here is a university report that goes very in depth into this. https://helda.helsinki.fi/server/api/core/bitstreams/5f1711d5-d45e-4fe8-81f3-558ffd570ba6/content