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