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