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