Задание

Type the second sentence so it has the similar meaning to the first. Use "I wish/If only".
It's a pity you didn't tell us that you were leaving.