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