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

['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']
997, n, 631, 527, E, A, n, n, G, 1197, R, L

[7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]
5913, X, 5591, o

[7337, 1133, 533, 1379, 2105, 4869, 8509, 5843, 'C', 2433, 8631, 'e', 'G', '7653', '8025', '4987', 'd', 'm', 'Q', 'Z', '2519', '3955', '9037', '7969', '1283', '43', 'l', 'Y', 'y', '4973', '7025', '151', 'l', '4885', 'K', '2151', 'm', 'w', 'T', 785, 8761, 's', 'V', 'i', 7977, 'U', 1445, 'r', 'f', 7341], [847, 9833, 'w', 'r', 243, 4435, 'A', 'c', 55, 6263, 'B', 'z', 'w', 'L', 7515, 'H', 719, 7779, 7377, 'm', 7083, 'G', '7653', '8025', '4987', 'd', 'm', 'Q', 'Z', '2519', '3955', '9037', '7969', '1283', '43', 'l', 'Y', 'y', '4973', '7025', '151', 'l', '4885', 'K', '2151', 'm', 't', 3669, 'i', 1725]

G, 7653, 8025, 4987, d, m, Q, Z, 2519, 3955, 9037, 7969, 1283, 43, l, Y, y, 4973, 7025, 151, l, 4885, K, 2151, m