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