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