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