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

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:
['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']

Ex Output:
4623, M, d, 5977, 7669, 8583, 2455, D, j, c


Ex Input:
['G', 'N', 'f', 5325, 1747, 'f', 9571, 8161, 'q', 5541, 'd', 6215, 3, 3749, 'e', 4271, 4833, 9667, 4653, '5533', 'V', 'e', 'E', '5355', 'K', '6233', 'M', '745', 'P', '5965', '357', '6397', '963', 'p', 'F', '3717', 'U', '251', 'x', 'f', 'P', '2435', 'm', '3293', 'Q', 's', 'x', 'z', 'r', 't', 6017, 8277, 5087, 'c', 'l', 'g', 2539, 'V'], [8861, 3171, 'L', 'f', 6137, 'Z', 'd', 'p', 701, '5533', 'V', 'e', 'E', '5355', 'K', '6233', 'M', '745', 'P', '5965', '357', '6397', '963', 'p', 'F', '3717', 'U', '251', 'x', 'f', 'P', '2435', 'm', '3293', 'Q', 's', 'x', 'g', 1371, 6041, 279, 'B', 's']

Ex Output:

5533, V, e, E, 5355, K, 6233, M, 745, P, 5965, 357, 6397, 963, p, F, 3717, U, 251, x, f, P, 2435, m, 3293, Q, s, x