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