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