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