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