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