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