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