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