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