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

Ex Input:
['c', 'h', 9399, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'i', 'W', 'T', 9917, 'F', 'g', 8159], [4949, 'I', 'r', 4087, 'U', 'e', '1183', '9537', 'K', 'e', 'p', 'z', 9843]

Ex Output:
U, e, 1183, 9537, K, e, p


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:
[6923, 5579, 'Q', 'L', 'R', 'L', 'o', 5619, 'k', 'u', 'm', 'a', 9353, '8845', 'l', 'S', '4907', 'd', '9655', '5741', 'z', 'i', 'O', 'n', '9877', '8283', 'z', '8505', '8691', 'f', 'Z', '9749', 'D', 'M', 'O', '5985', 'E', 'R', 'l', 'M', 1567, 5231, 'Y', 7111, 'u', 'm', 'f', 'U', 'z', 'V', 'W'], [4181, 37, 'h', 'n', 'Z', 2629, 3999, 'J', 'l', 'v', 7103, 'U', 'k', 's', 6473, 8439, 969, 8403, 'j', 8755, 'X', '8845', 'l', 'S', '4907', 'd', '9655', '5741', 'z', 'i', 'O', 'n', '9877', '8283', 'z', '8505', '8691', 'f', 'Z', '9749', 'D', 'M', 'O', '5985', 'E', 'R', 'z', 969, 'A', 'i', 'A', 9027, 553, 't', 5303, 'F', 9231, 7329, 7523, 'z']

Ex Output:

8845, l, S, 4907, d, 9655, 5741, z, i, O, n, 9877, 8283, z, 8505, 8691, f, Z, 9749, D, M, O, 5985, E, R