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