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