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

Ex Input:
['J', 'b', 'R', 'v', 6421, 'i', 4179, '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 't', 9093, 9035, 8487], ['V', 'j', '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 'F', 6281, 8109, 'R', 2589]

Ex Output:
3583, 7897, 9525, b, 4163, 5465, 255, 5923

Ex Input:
['s', 5215, 'X', 4785, 6947, 5893, 7053, 't', 5871, 'k', 1691, 'Z', 2873, 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 't', 'X', 'A', 'W', 5429, 8573, 'F', 'G', 'm', 's', 167, 9123, 6207, 9613, 2093, 'V', 3531], [5343, 'Y', 'l', 'V', 8421, 3519, 5427, 'E', 'S', 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 'z', 'R', 'l', 1275, 5871, 9461, 2255, 'K', 6005, 3441, 4125, 2315, 'R', 7447, 4823, 785]

Ex Output:
J, 887, 247, t, 7731, 8425, 3371, o, 5243, 8871, 2477, E, w, D, r, 8971, J, 549

Ex Input:
[2893, 6961, 9319, 2833, 'Q', 5823, 6263, 'R', 7803, 8275, 'N', 9119, 5885, 'I', 'h', 7249, 'M', 7189, 'R', 'Q', 'a', 'l', 'B', 7821, 6139, 'F', 191, 'W', '5975', '5419', 'z', 'F', '645', '7903', 'K', '2105', '8469', '9383', 'd', 'o', 'c', 'B', '2747', '5035', '2363', 'q', '7027', '1635', '3145', '2903', 'x', '7437', '5523', '2827', '8437', 'Q', '7839', 'T', 'a', 6465, 'a', 'i', 'X', 187, 'f', 'e', 'D', 8103, 'd'], ['V', 'p', 'J', '5975', '5419', 'z', 'F', '645', '7903', 'K', '2105', '8469', '9383', 'd', 'o', 'c', 'B', '2747', '5035', '2363', 'q', '7027', '1635', '3145', '2903', 'x', '7437', '5523', '2827', '8437', 'Q', '7839', 'm', 'C', 4117, 959, 'E', 2019, 'g', 'd']

Ex Output:
5975, 5419, z, F, 645, 7903, K, 2105, 8469, 9383, d, o, c, B, 2747, 5035, 2363, q, 7027, 1635, 3145, 2903, x, 7437, 5523, 2827, 8437, Q, 7839