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