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