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