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