In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1895, 'e', 'g', '1987', '323', '1', 'y', '6285', '7167', 's', 'n', '995', '8331', '6039', 'Y', '9371', '969', '749', '1591', 'p', 'q', 'K', 'y', '1389', '5033', 'o', 'B', 'X', '1047', 'Q', 'h', '459', 'n', 811, 8503, 3783, 'T', 1939, 9045, 741, 'd', 'y', 'X', 4655, 7355, 7921, 1577, 5997, 'M', 8125, 9099, 'J', 'Z', 'K'], [7435, 's', 1467, 'n', 6749, 'x', 9879, 'b', 7755, 699, 'S', 'e', 'N', 6705, 3233, 'c', 2235, 8903, 'a', 'Z', '1987', '323', '1', 'y', '6285', '7167', 's', 'n', '995', '8331', '6039', 'Y', '9371', '969', '749', '1591', 'p', 'q', 'K', 'y', '1389', '5033', 'o', 'B', 'X', '1047', 'Q', 'h', '459', 'e', 4737, 'Z', 'H', 'b', 'J', 'C', 6185, 9799, 'y', 'Z', 7689, 'H', 3215]