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