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