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

[EX Q]: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
[EX A]: A, g, 6735, 6737, 6929, 3051, v, 1223, 497

[EX Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[EX A]: 5181, q, c, W, r

[EX Q]: [9057, 'a', 'Y', '7999', 'L', 2843], [4765, 1289, 'Y', '7999', 'p', 8619]
[EX A]:
Y, 7999