There are 6 baskets on the table. Each basket has 1, 0, 8, 5, 3 and 17 apples. John chose sixth, Matt chose fifth, Emma chose third, Sean chose second, Liam chose first, and Olivia chose fourth. How many apples did John and Matt choose in total?