Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2657, 'Y', 'a', 'V', 'G', 'm', '4671', '7701', '6499', 'G', 'o', 'N', 'B', '777', '4651', 'e', '6101', '1941', '513', 'L', 'f', '4731', 'Z', 'G', 'F', 'j', 'd', '7105', '9071', '1513', 'q', 'l', 'C', 'Q', 3169, 't', 1307, 'R', 't', 'h', 4227, 8659, 7363, 7585], [1691, 'Q', 7927, 823, 9613, 'R', 3341, 8791, 'U', 5425, 'q', 2493, 1825, 5011, 2619, 3195, 'a', 4925, 'j', 3519, 'h', 'p', 667, 5863, 6805, 'e', 643, 'a', 'V', 'G', 'm', '4671', '7701', '6499', 'G', 'o', 'N', 'B', '777', '4651', 'e', '6101', '1941', '513', 'L', 'f', '4731', 'Z', 'G', 'F', 'j', 'd', '7105', '9071', '1513', 'q', 'J', 'z', 't', 1049, 4589, 3973, 'Q', 7135, 'w', 6149, 5331, 'H', 1395, 'S', 6745, 9715, 6803, 'T', 'A', 'z', 'y', 3039, 1685, 4159, 'w', 'M', 2881, 9443, 'E']
A:
a, V, G, m, 4671, 7701, 6499, G, o, N, B, 777, 4651, e, 6101, 1941, 513, L, f, 4731, Z, G, F, j, d, 7105, 9071, 1513, q