There are 6 baskets on the table. Each basket has 17, 18, 0, 4, 7 and 5 apples. Matt chose third, Sean chose fourth, Olivia chose first, John chose sixth, Emma chose second, and Liam chose fifth. Who chose the basket with the least apples?