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