In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[EX Q]: ['x', 7099, 9059, 865, 'S', 'l', 'V', 8579, 'r', 2823, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'X', 'Q', 'V', 'C', 1583, 531, 'u'], ['T', 7357, 4783, 967, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'U', 229, 'P', 'x', 'T', 681, 863]
[EX A]: 9603, c, 1545, 7041, g, d, 1281, 3849, s, 3959

[EX Q]: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']
[EX A]: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S

[EX Q]: ['k', 'U', 'm', 'A', '2865', '2813', '9419', '2819', 'W', '4499', '613', 'h', 'Z', 'h', 'L'], [7847, 4031, 3027, 'k', 't', 'X', 2105, 8687, 'A', '2865', '2813', '9419', '2819', 'W', '4499', '613', 'h', 'Z', 'F', 4139, 9539]
[EX A]:
A, 2865, 2813, 9419, 2819, W, 4499, 613, h, Z