In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['e', 439, '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'j', 4931, 7411, 'B', 'H', 'j', 7789], ['F', 'J', '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'R', 'i', 'c', 'k', 'h', 'u']
Example Output: 9737, 9901, J, 4323, J, 3137, G

Example Input: [8937, 'k', 'O', 'p', 'C', 1375, 'i', 'X', 'l', 'L', 'u', 'C', 5395, 'n', 6919, 8055, 1091, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'm', 'b', 'a', 'l', 'l', 'w', 'R', 'b', 'W'], [6245, 6001, 'm', 'L', 'o', 7883, 'v', 833, 'n', 9131, 'F', 913, 'z', 'A', 'p', 'v', 4669, 't', 'i', 5055, 8833, 2829, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'k', 2275, 'p', 1367, 4807, 5581, 7895]
Example Output: 789, M, c, 431, 3497, 6001, 3601, Q, R, k, D, k, q, 343, b, j, 4465, 7421, 3927, G, 6047, 8287, 187, 2247, w, S, c, v, X

Example Input: [4227, 9749, 'E', 6815, 4877, 1367, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'K', 'X', 't', 3741, 'r', 's'], [5281, 5929, 'F', 'l', '4299', '8737', 'p', '4981', '55', 'w', '7071', '2225', '3843', '7029', 'j', 'L', 'E', 'D']
Example Output:
F, l, 4299, 8737, p, 4981, 55, w, 7071, 2225, 3843, 7029, j, L