Truth-Lie Problem Solution

Four children had a race. At the end of the race
four statements were made:

Robert: I didn't come in first or last
David: I didn't come in last
Melissa: I was first
Bailey: I was last
You know that one, and only one, of the children
didn't tell the truth. Who won the race?


Will be update on 8th October

David won, Melissa was lying.