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

Ex Input:
[1929, 4689, 'n', 8041, 9403, 9827, '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'L', 'f', 'm', 'Z', 6739, 'Q', 'm', 'B', 2313], ['v', 'l', 1235, 'N', 9583, 'p', 5865, 'd', 'L', 8093, 9981, 7681, 'j', 'W', 'i', 'N', 'S', 7663, 'K', 'T', 'O', 'S', 5629, 'M', 5999, 'V', '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'R', 9373, 'U', 'A', 9265]

Ex Output:
9187, 8209, 859, g, W, U, 1479, r, 4511, Z, c, 1191, A, 6903, n, 5933, 3263, 5161, 2377, 4877, f, 4231, 7169, z, k, 2733, 9957


Ex Input:
['q', 'O', 7981, 'U', 'V', 's', 't', 6911, 'i', 'K', 'O', 'F', 1359, 3839, 'g', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'f', 'U', 'b'], ['V', 'D', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'U', 'm', 8601, 881, 1009, 1759, 5669, 8581, 'm', 8715, 8913]

Ex Output:
2555, H, 9877, Y, 3433, 5661, 2061, j, j, 2413, 3795, c, 6529, F, 1099


Ex Input:
[4089, 1895, 'P', 8837, 'm', 2349, 7081, 'V', 6055, 1309, 1043, 'H', 'A', 'w', 'W', '5535', '9851', 'g', '2115', 'v', '6199', '7063', '767', '4991', 'C', '853', 'y', 'e', 'K', '255', 'k', '3935', '8401', 'n', 6613, 'r', 3867, 7551, 'N', 'a', 991, 'Z', 6189, 'W', 'K', 'O', 'z'], [1495, 'V', 9149, 'h', 'g', 4329, 195, 'q', 2649, 7613, 4975, 10019, 'I', 589, 'p', 'K', 'Z', 3915, 3681, 'A', 'w', 'W', '5535', '9851', 'g', '2115', 'v', '6199', '7063', '767', '4991', 'C', '853', 'y', 'e', 'K', '255', 'k', '3935', '8401', 'r', 8119, 10001]

Ex Output:

A, w, W, 5535, 9851, g, 2115, v, 6199, 7063, 767, 4991, C, 853, y, e, K, 255, k, 3935, 8401