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