There is no missing dollar.
The three people paid $27 total.
The room was $25, and the tip was $2. The room plus the tip was $27, what they paid.