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