Price-Output Dynamics, Capital Inflows and Real Appreciation