In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5603, 5423, 'h', 'J', 5983, 'm', '9439', 'v', 'b', 'Y', 'U', 'L', '4051', '6893', 'b', 'y'], ['o', 5239, 'j', 8887, 'U', '9439', 'v', 'b', 'Y', 'U', 'L', '4051', '6893', 'n', 'V', 'N']