Changed problem to be clear what should be done.