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