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

Ex Input:
['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]

Ex Output:
4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X


Ex Input:
['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']

Ex Output:
9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G


Ex Input:
[511, 'V', 'k', 'w', 'a', 'Z', 'U', 'E', 335, 1605, 'R', 'u', 'w', 9169, 2627, 'p', 'q', 6101, 1051, 'k', 'W', '4615', '359', 'w', 'A', '1093', 'i', 'G', '9057', '801', 'w', '6447', '3709', '4753', 'E', 'G', 'q', '2163', 'B', '1941', '4827', '7539', '579', 'g', '5819', 'p', '3879', 'd', 'l', 'X', 'E', 613, 5587, 8197, 'e', 'w', 3115, 6887, 'A', 7849, 9171, 'Z', 'I', 931, 'X', 'D', 619, 2163, 'i', 4091], [6303, 'i', '4615', '359', 'w', 'A', '1093', 'i', 'G', '9057', '801', 'w', '6447', '3709', '4753', 'E', 'G', 'q', '2163', 'B', '1941', '4827', '7539', '579', 'g', '5819', 'p', '3879', 'd', 'K', 3473, 9329, 'P', 'x', 9279, 'h', 5191, 1637, 'z', 'o', 'c', 'U']

Ex Output:

4615, 359, w, A, 1093, i, G, 9057, 801, w, 6447, 3709, 4753, E, G, q, 2163, B, 1941, 4827, 7539, 579, g, 5819, p, 3879, d