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