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