For input: input = "some bookings"
output should be : mebking
that is remove all duplicated characters, output remaining characters.
For input: input = "some bookings"
output should be : mebking
that is remove all duplicated characters, output remaining characters.