In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1585, 'J', 5883, 'K', 'l', 'c', 9327, 'E', 8771, 't', 1535, 4901, 'J', 'L', 4255, 'H', 'l', 'W', 'k', 'r', 1833, 9171, 'i', 4567, '1123', '9695', 'I', '6961', '391', 'K', 'n', '7817', '9469', '5195', 'g', 'j', '5995', '7825', 'f', '7327', 'Q', '7519', '223', '5551', 'q', 'q', '5141', '3267', 'e', 'Q', 'P', 'n', 'p', 'K', 'n', 'n', 'N', 1171, 'X', 'E', 'f', 'l', 'g', 'S', 7145, 'y', 'p', 'o', 8127, 'I', 'S', 'A'], ['C', 7733, 173, '1123', '9695', 'I', '6961', '391', 'K', 'n', '7817', '9469', '5195', 'g', 'j', '5995', '7825', 'f', '7327', 'Q', '7519', '223', '5551', 'q', 'q', '5141', '3267', 'e', 'Q', 'P', 'n', 'E', 835, 5713, 3737, 1733, 'h']