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

Ex Input:
[7895, 3277, 4453, 8001, 3249, 8861, 8095, 6707, 7707, 6229, 'N', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'Q', 207, 3235, 5207, 2349, 3663, 3563, 4147, 707, 'x', 'j', 2787, 7923, 'J', 6673, 'X', 4963], ['l', 8291, 'r', 9185, 'B', 9975, 9663, 'U', 'O', 'Z', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'a', 'G', 'S', 185, 8775, 'y', 1691]

Ex Output:
8179, 1801, m, 8015, d, 4081, 4825, 4959, e, W, 7321, o, 1247, 10025, 7661, z, e, A, 3033, H, H, 6305, y, 7569


Ex Input:
[3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']

Ex Output:
495, 3897, O, x, 2409, 6843, 3477, 5411


Ex Input:
['g', 4401, 3487, 'K', 27, 7505, 205, 7705, 6701, 8597, 'C', 'a', 'y', 8795, 3229, 2893, 1443, 'C', 'M', 'l', 'U', 'Y', 'f', 'b', 'p', '5485', 'h', '6137', 'b', '3067', 't', 'p', '321', '2919', '6749', '1019', '8033', '9931', 'w', '2337', 'v', '7853', '9935', '4625', '3283', '3277', 'Y', 'n', 'N', '1203', '6105', 'A', 'g', 9913, 2465, 'P', 625, 'Z', 'G', 'Q', 7843, 8829, 825, 9465, 'o', 'A', 7915, 2651], ['a', 4019, 'X', 4651, 'b', 5429, 'w', 2135, 'd', 'R', 'H', 'L', 4739, 3221, 'N', 'H', 3595, 'k', 'R', 1201, 'd', 'I', 2039, 'x', 3625, 4701, 'I', 5513, 7971, 'V', 'f', 'b', 'p', '5485', 'h', '6137', 'b', '3067', 't', 'p', '321', '2919', '6749', '1019', '8033', '9931', 'w', '2337', 'v', '7853', '9935', '4625', '3283', '3277', 'Y', 'n', 'N', '1203', '6105', 'A', 'G', 9983, 'X', 'A', 6147, 'V', 8367, 7573, 1193, 'b', 'l', 1369, 8763, 4933, 9259]

Ex Output:

f, b, p, 5485, h, 6137, b, 3067, t, p, 321, 2919, 6749, 1019, 8033, 9931, w, 2337, v, 7853, 9935, 4625, 3283, 3277, Y, n, N, 1203, 6105, A