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

Example Input: [127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]
Example Output: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623

Example Input: [2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']
Example Output: 8427, 2933, x, 2689, 9305, L, 9263, 2671

Example Input: ['R', 'u', 4757, 'R', 't', '3401', '477', '2911', 'e', 'k', 'N', 'u', 3541], [8817, 'q', 'j', 9281, 'w', 't', '3401', '477', '2911', 'e', 'k', 'O', 'B', 't', 'Y']
Example Output:
t, 3401, 477, 2911, e, k