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:
[5269, 'q', 'b', 9461, 1715, 8909, 2865, 't', 3899, 9097, 's', 'J', 'u', 'O', 'q', '3289', '9079', 'q', '1341', 'a', '8881', 's', '1837', '4351', '5559', '43', '4733', 'y', '6455', '6219', '725', '7947', '7143', '9627', '3401', '1647', '755', 'E', 4775, 7047, 6939, 5023, 'F', 1385, 'f', 'P', 'R', 6711, 3741, 'C', 6351, 'K', 5279, 'm', 4933, 8587, 4429, 793, 5537, 'v'], ['X', 'A', 'I', 'W', 8039, 6937, 'l', 209, 6835, 'Z', 'x', 'G', 'R', 's', 'J', 'u', 'O', 'q', '3289', '9079', 'q', '1341', 'a', '8881', 's', '1837', '4351', '5559', '43', '4733', 'y', '6455', '6219', '725', '7947', '7143', '9627', '3401', '1647', '755', 'i', 'a', 'k', 5823, 'r', 'l', 'p', 'F', 5771, 'H', 7231, 't', 'c']

Ex Output:
s, J, u, O, q, 3289, 9079, q, 1341, a, 8881, s, 1837, 4351, 5559, 43, 4733, y, 6455, 6219, 725, 7947, 7143, 9627, 3401, 1647, 755

Ex Input:
[3567, 'A', 'd', 3619, 8583, 8085, 6155, 6163, 2403, 'd', 8619, 'A', 6109, 'B', 2707, 2151, 'F', 'X', '10015', 'C', '5265', '1483', 't', 'j', '2911', 'X', 'G', '9039', 'G', '2313', 's', 'o', '8591', 'Q', 'C', 4023], ['K', 'c', 1237, 'l', 'd', 6419, 9153, 'm', 'i', 3153, 599, 'X', '10015', 'C', '5265', '1483', 't', 'j', '2911', 'X', 'G', '9039', 'G', '2313', 's', 'o', '8591', 'Q', 'x', 645, 8131, 'w', 'J', 9843, 1505, 3665, 'Q', 'm', 'C', 'O', 'O', 'H']

Ex Output:
X, 10015, C, 5265, 1483, t, j, 2911, X, G, 9039, G, 2313, s, o, 8591, Q