Відправити по sms: Costs and rewards in priced timed automata