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