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

Ex Input:
['M', 'u', 'N', 'y', 295, 3475, 9835, 'H', 4717, 1403, 'Y', 9997, 8009, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'w', 3597, 1163, 5869], ['v', 9877, 'x', 5367, 4285, 'B', 4389, 3125, 'J', 'u', 2261, 8063, 'W', 'l', 'I', 'y', 9779, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'P', 5999, 'u', 2261, 'd', 'n', 'N', 9087, 'P']

Ex Output:
g, p, 5225, 6819, 2091, 2855, 3637, 2009, v, c, r, 8173, H, o, N, F, 1483


Ex Input:
['o', 'R', 'l', 'y', 8351, 3995, 8667, 'X', 'r', 7749, 's', 9049, 'X', 10021, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'F', 4501, 'N', 'g', 'k', 1891, 8829, 'h', 4055], [3261, 'x', 5565, 'e', 773, 'j', 'h', 317, 5829, 'k', 's', 'I', 2339, 3391, 'L', 'U', 2339, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'g', 5447, 9137, 5965, 'F', 7181, 7811, 9655, 8301, 6751, 't', 1153, 657]

Ex Output:
L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j


Ex Input:
['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']

Ex Output:

5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353