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