I went with my friend to Europe. We tracked all our common expenses on Splitwise app.
We tracked all these - - the expense before the journey - including accommodation and travel tickets. - any money we gave each other before or during the trip.
I went with Rs. X in hand (cash plus card), sent him Rs. Y because his credit card had no balance to pay for our bookings, then lent him Rs. Z overall from my bank account.
Splitwise shows he owes me Rs. A as final settlement.
I was left with no money out of the original I had taken with me.
How much was my total expense?

