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