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

Ex Input:
['x', 7099, 9059, 865, 'S', 'l', 'V', 8579, 'r', 2823, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'X', 'Q', 'V', 'C', 1583, 531, 'u'], ['T', 7357, 4783, 967, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'U', 229, 'P', 'x', 'T', 681, 863]

Ex Output:
9603, c, 1545, 7041, g, d, 1281, 3849, s, 3959


Ex Input:
[7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']

Ex Output:
c, 8363, 1673


Ex Input:
[573, 1099, 7855, 2721, 'S', '4239', 'S', '1413', '2637', '7927', '81', 'k', '617', '7911', 'r', 'z', '8063', '4831', '2073', 'O', '767', '3301', '495', 'd', '7379', 'l', 'G', 'F', 'O', 'z', 'W', 4853, 3035, 'j', 'm', 1337, 8717, 3417, 1649, 7785, 2309], [9707, 'L', '4239', 'S', '1413', '2637', '7927', '81', 'k', '617', '7911', 'r', 'z', '8063', '4831', '2073', 'O', '767', '3301', '495', 'd', '7379', 'u', 'f', 4681, 8423, 'h', 'w', 5959, 6847, 'L', 'u', 9117, 6411]

Ex Output:

4239, S, 1413, 2637, 7927, 81, k, 617, 7911, r, z, 8063, 4831, 2073, O, 767, 3301, 495, d, 7379