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