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