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