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