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

[4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
A, 5181, i, X, h, J

[621, 7677, 'b', '889', '6721', 'H', 'd', 'S'], [8151, 'F', 'b', '889', '6721', 'h', 4123]
b, 889, 6721

[551, 'a', 5641, 9835, 'U', 'f', '6917', 'A', '963', '7599', 'y', 'S', 9727, 8611, 'Y'], ['S', 497, 'f', '6917', 'A', '963', '7599', 'y', 'R', 3469]

f, 6917, A, 963, 7599, y