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