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

Ex Input:
['v', 1629, 't', 'y', 'R', 'k', 10021, 7155, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'o', 3491, 'z', 'i', 6959, 865], ['Q', 5541, 6301, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'D', 3297, 8731, 8807, 99, 'h', 3177, 2689, 'H', 'u', 'S', 833]

Ex Output:
7241, 8007, N, 4295, O, 6233, 6893, 3293, J, 789, 85, 2423


Ex Input:
[5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Ex Output:
I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Ex Input:
[1389, 'K', 'Z', 8709, 8923, 'r', 3717, 'e', 'c', 'Q', 'm', 2831, 'r', 'X', 5943, 143, 1691, 1935, 'i', 551, 'A', 'B', 6641, 7079, 'y', 7039, '5069', 't', '4873', 'd', '987', '4935', 'i', '8575', '8323', 'x', 'z', 'n', 'Y', 'N', 'e', '189', 'D', 'P', '3635', 'd', '3309', '7873', '1845', '5429', '3247', 'O', 'm', 'P', 'C', 'r', 7505, 'w', 6257, 'r', 'b', 'p', 3903, 'R', 8391, 3087, 9555], [5333, 7817, 'x', 'c', '5069', 't', '4873', 'd', '987', '4935', 'i', '8575', '8323', 'x', 'z', 'n', 'Y', 'N', 'e', '189', 'D', 'P', '3635', 'd', '3309', '7873', '1845', '5429', '3247', 'O', 'm', 'P', 'B', 4981, 7267, 'm', 'F', 4917, 5373, 9839, 'K', 1841, 2781, 2923, 6953, 'c', 8513, 9329, 'h', 6527, 'D', 3597, 'n', 'S', 'k', 'T', 8949, 3329, 2035]

Ex Output:

5069, t, 4873, d, 987, 4935, i, 8575, 8323, x, z, n, Y, N, e, 189, D, P, 3635, d, 3309, 7873, 1845, 5429, 3247, O, m, P