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