If somebody can tell me what i must to do, I don t have any idea, what i do is not working. For me is logic: s.contains("r") && !s.contains("l") then delete s, but... I don t know, if somebody can explain me what i need to do and why, step by step... This is very hard task. Tk you!