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