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