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