In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1243, 2625, 7327, 'T', 5011, 'j', '9763', '6961', 's', '2711', '3313', 'o', 'R', '3249', 'o', 'D', '6429', 'Y', '9741', '9555', 'k', 'c', 'O', 'p', 'm', 'Y', 'S'], [7865, 2125, 'w', 4117, 4761, 6581, 'h', 'g', 's', 809, 's', 2267, 'H', 'j', 6851, 'j', '9763', '6961', 's', '2711', '3313', 'o', 'R', '3249', 'o', 'D', '6429', 'Y', '9741', '9555', 'l', 5881, 2115, 6321, 8799, 2317, 157, 'n']