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

[Q]: [5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]
[A]: r, 7787, 1083, F, 8153, i, 979, b, z, g, 1657, t, 2281, 8149, 7429, o


[Q]: ['O', 'k', 'E', 281, 'J', 'J', 'z', 9541, 'K', 'Y', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'b', 'd'], [3187, 1933, 'u', 'E', 'Y', 2413, 'W', 'f', 'V', 9713, 4903, 'f', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'i', 5937, 'j', 1943, 'N', 9789, 'p', 3693, 2243, 9701, 6051, 6437, 'K', 4251, 5597, 'A', 'O', 'Y', 'P', 2435]
[A]: G, s, J, h, o, 2303, 603, M, 5785, 7949, P, 9685, d, 801, 5021, 479, d, A, 1609, T


[Q]: ['a', 9171, 5053, 5369, 'M', 's', '1749', '9611', '6727', '6359', 'j', '5905', '3847', '9623', 'o', '5535', '9185', 'y', 'r', 's', '5531', 'C', '7577', 'w', '357', 'Y', 'd', 'c', 7791, 8781, 1395, 7219], ['D', 4233, 'L', 'Y', 1963, 6691, 'b', 'w', 9929, 'P', 555, 's', '1749', '9611', '6727', '6359', 'j', '5905', '3847', '9623', 'o', '5535', '9185', 'y', 'r', 's', '5531', 'C', '7577', 'w', '357', 't', 'B']
[A]:
s, 1749, 9611, 6727, 6359, j, 5905, 3847, 9623, o, 5535, 9185, y, r, s, 5531, C, 7577, w, 357