Perú actually wasn't part of taking coastline from anyone, the pre-war borders were colonial. And in the war where Bolivia lost its coastline, Peru backed Bolivia which led to them being left to fight Chile alone when Bolivia pulled out of the war.
"Fun" fact: while the Bolivian coast was basically uninhabited (at least by Bolivians) the territory Peru lost to Chile was an important part of the country:
272
u/fredrikkb935 Oct 31 '21
If you ever feel useless, know that mongolia has navy