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