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

Ex Input:
[2227, 8603, '9943', 'E', '4351', 't', 'l', 'x'], [5983, 'q', '9943', 'E', '4351', 'V', 4367]

Ex Output:
9943, E, 4351


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:
['V', 5871, 'J', 's', 9283, 'L', 1121, 'C', 5747, 'F', 'r', 433, 10027, 'L', 'w', 705, 9379, 'd', 6357, '5545', 'y', '3805', 'h', 'Y', '8039', '4479', 'H', 'o', 'n', 'H', '7921', 'n', '71', 'P', '3257', 'e', '8437', 'q', 'U', 'e', 8653, 4461, 6453, 'R', 8817, 'L', 3897, 5275, 'y', 'O', 'g'], ['Y', 5789, 'Z', 'R', 1749, 225, 9363, 'Z', 5449, 4305, 7887, 'W', '5545', 'y', '3805', 'h', 'Y', '8039', '4479', 'H', 'o', 'n', 'H', '7921', 'n', '71', 'P', '3257', 'e', '8437', 'q', 'F', 4457, 3417, 's', 'T', 4703, 4119, 7381, 3583, 4485, 'W', 'G', 4353, 8059]

Ex Output:

5545, y, 3805, h, Y, 8039, 4479, H, o, n, H, 7921, n, 71, P, 3257, e, 8437, q