Zaslat SMS: Costs and rewards in priced timed automata