Value of medium of exchange and cost of living