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