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