In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7085, 'p', '6395', 'n', '9595', 'H', 'q', 'I', '9467', 'B', '8917', '915', 'E', '5019', 'l', '701', '4115', '1117', '4511', 'q', 'b', 'j', 'f', 7247, 'n', 'X', 4885, 'v', 6743, 'F', 'f', 455, 'c', 9277, 'j'], ['n', 6885, 9501, 'J', 6951, 'z', 'V', 'S', 'v', 'h', '6395', 'n', '9595', 'H', 'q', 'I', '9467', 'B', '8917', '915', 'E', '5019', 'l', '701', '4115', '1117', '4511', 'q', 'V', 'S', 6481, 5335]