Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 6021, 'g', 'f', 'w', 5031, 'f', 'H', 3, 4999, 'B', 'n', 5615, 5157, 'D', 5243, 3819, '9475', '1229', '2415', 'i', '2949', '10003', 'L', '505', 'f', '2605', 'x', 'w', 'i', '5327', '7079', '6985', '6817', 'r', '2613', 'X', 2979, 'A', 953, 'a'], [9271, 3871, 3611, 3001, 1653, 'G', 'u', 9563, 1931, 'u', 3241, 5723, 'E', 'm', '9475', '1229', '2415', 'i', '2949', '10003', 'L', '505', 'f', '2605', 'x', 'w', 'i', '5327', '7079', '6985', '6817', 'r', '2613', 'E', 'f', 'j', 'l']
A:
9475, 1229, 2415, i, 2949, 10003, L, 505, f, 2605, x, w, i, 5327, 7079, 6985, 6817, r, 2613