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