Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5269, 5327, 'b', 5337, 7755, 'S', 9149, 'j', 8215, 2377, 'B', 3487, 7869, 'j', 'c', 5005, 'G', 7185, 1537, 's', '8247', 'B', '8533', '2267', '1227', '2621', '73', 'G', 'B', '6681', '7989', 'P', '4583', '3197', '1975', 'I', 'j', 'm', '6561', '8781', 'a', '6941', '8867', 'v', 'T', '3967', '5971', '5001', '3889', 'q', 'A', 8445, 5457, 5597, 'R', 'v', 8907, 9357, 'o', 8153, 'e', 7445, 2133, 1723, 'g', 'X', 9115, 7947, 167, 2915, 'u', 'E'], [1643, 'N', 9177, 'k', 8807, 9389, 1715, 6203, 'W', 1605, 'c', 6717, 4897, 'Z', 1121, 3723, '8247', 'B', '8533', '2267', '1227', '2621', '73', 'G', 'B', '6681', '7989', 'P', '4583', '3197', '1975', 'I', 'j', 'm', '6561', '8781', 'a', '6941', '8867', 'v', 'T', '3967', '5971', '5001', '3889', 'U', 'x', 9951, 2733, 7465, 'W', 1479, 997, 2377, 'V', 'p']
A:
8247, B, 8533, 2267, 1227, 2621, 73, G, B, 6681, 7989, P, 4583, 3197, 1975, I, j, m, 6561, 8781, a, 6941, 8867, v, T, 3967, 5971, 5001, 3889