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