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

Ex Input:
['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

Ex Output:
z, f, o, L


Ex Input:
['K', 6723, 7053, 'g', 6793, 'h', 'C', 'H', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'T', 'o', 'j', 5777, 3173, 'N', 'Q', 'O', 'm', 4693], ['r', 5349, 503, 'Q', 8435, 'Y', 6633, 'W', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'Q', 'Z', 8433, 'h', 8205, 'm', 6605, 5051, 'w', 'o', 3177, 't', 9005, 'v', 'G']

Ex Output:
J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701


Ex Input:
['d', 7319, 9017, 'J', 8707, 'u', 'E', 223, 'A', 'c', 't', 5911, 7201, 4779, 8221, 'm', '1389', 'y', 'r', 'h', '1171', 'A', '5845', 'v', '3069', '4835', 'u', '1017', 'c', '8515', '2025', 'U', '2161', 'd', 1199, 'o', 9005, 6271, 5293, 'O', 'Y', 'o', 'f', 4229, 'P', 's', 'e', 7529, 3209], ['r', 'B', '1389', 'y', 'r', 'h', '1171', 'A', '5845', 'v', '3069', '4835', 'u', '1017', 'c', '8515', '2025', 'U', '2161', 'b', 'q', 2703, 'Y', 9109, 4649, 1531, 'a', 2481, 1481, 'S', 'B', 5895, 6113, 4261, 5015, 5673]

Ex Output:

1389, y, r, h, 1171, A, 5845, v, 3069, 4835, u, 1017, c, 8515, 2025, U, 2161