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

[4249, 1307, 'R', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'H', 'K', 7197, 3907, 'I', 5561], [8961, 1477, 'X', 'C', 7153, 1005, 'C', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'L', 7313, 2449, 4181, 1573]
3377, 9383, w, 7897, S, 1791, f, 6787

['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]
4923, 9161, 4031, 7443, f

[563, 3503, 'p', 1879, 'o', 'b', 'J', 'x', 'B', 2671, 67, 1313], [9581, 'q', 2233, 5047, 'o', 'b', 'J', 'x', 'h', 'S', 5513]

o, b, J, x