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