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