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