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

[EX Q]: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]
[EX A]: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R

[EX Q]: [2087, 5665, 'W', 'H', 6711, '8181', 'q', '1949', 'j', '7351', 'g', 5827, 4893, 9173], [5187, 4249, '8181', 'q', '1949', 'j', '7351', 'w', 'Z', 'C', 3255]
[EX A]: 8181, q, 1949, j, 7351

[EX Q]: ['V', 'C', '3531', 'c', '3345', '833', 'F', 'x', 645, 'n'], [369, 2893, 'q', '3531', 'c', '3345', '833', 'z', 'I', 'U', 563]
[EX A]:
3531, c, 3345, 833