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