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