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