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