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