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