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