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