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