Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5505, 1809, 'L', 'Y', 'R', 2421, 8133, 'F', 'A', 7091, 8089, 219, 5503, '7235', 'p', 'P', '3117', '9113', '147', 'x', 'Y', '7453', 'y', 'a', '6599', 'T', 'i', 'V', 'E', '5175', '337', 'U', 'b', '1513', 'z', 4809, 'M', 1077, 'z', 'Q', 'P', 'U', 2663, 'n', 'N'], ['z', 'q', 9547, 'x', 'j', 677, 'X', 9261, 'd', 'r', 2241, 'B', 'r', 'S', 'f', 'G', 'H', 'v', 4585, 'Q', '7235', 'p', 'P', '3117', '9113', '147', 'x', 'Y', '7453', 'y', 'a', '6599', 'T', 'i', 'V', 'E', '5175', '337', 'U', 'b', '1513', 'S', 'p', 8659, 'i', 9165, 3371, 4861, 77, 4983, 6983, 7423, 5829, 3969, 's', 'h', 'f', 'o', 'U', 'V']
A:
7235, p, P, 3117, 9113, 147, x, Y, 7453, y, a, 6599, T, i, V, E, 5175, 337, U, b, 1513