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