In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'I', 'S', 'c', 's', 5103, 'a', 's', 1279, 5241, 'Y', 6639, 'N', 8461, 'h', '7279', 'n', '3313', 'v', 'u', 'y', 'X', '4005', 'Z', 'n', '6683', 'e', '8357', 'X', 'O', 'x', 'R', 'I', 9419, 3585, 'a', 5211, 5983, 'S', 'y', 'C'], ['j', 1377, 'N', 2305, 'G', 'C', 2985, 'R', 'f', 'h', '7279', 'n', '3313', 'v', 'u', 'y', 'X', '4005', 'Z', 'n', '6683', 'e', '8357', 'v', 5539, 8905]