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

Ex Input:
[5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]

Ex Output:
a, 3619, 5119, 4219, 769, 8735, 6417, V, W


Ex Input:
[9677, 4817, 5889, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 'r', 5945, 2503, 9765, 8527], [1659, 'z', 7571, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 's', 'f', 7387, 4583, 4393, 'o', 8185, 'Y', 3513]

Ex Output:
w, 9447, A, g, 4241, l, 6431, v, r, 1925, 1007, 8177, 5627, 7383, 691, Z, 7593


Ex Input:
[3237, 503, 'U', 5757, 9759, 'k', 6489, 'x', 'x', 'M', 'u', 'I', '2501', '5555', 'k', 'P', 'A', 'p', 'q', '7141', 's', 'z', 'c', 'v', 171, 'x', 4717, 'q', 7813, 5201, 'S', 2821, 'h', 6421, 9639], ['h', 899, 5891, 2235, 195, 'D', 'L', 'u', 'I', '2501', '5555', 'k', 'P', 'A', 'p', 'q', '7141', 's', 'z', 'c', 'P', 3579]

Ex Output:

u, I, 2501, 5555, k, P, A, p, q, 7141, s, z, c