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