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

Ex Input:
['f', 1055, 'X', 4189, 'G', 'J', 423, 8439, 'I', 'B', 6741, 151, 'R', 'A', 'S', 1495, 397, 'Y', 1945, 3493, 6379, 'b', '5877', 'E', 'd', '1819', '2441', '7059', '2535', '4855', '2281', '4211', '9017', '8631', 'C', '7107', '2473', '3995', '4923', '1735', '3551', 'U', 'X', 'V', 'v', 9151, 'L', 7093, 'r', 'n'], [5255, 'w', 'X', 5033, 'H', 4787, 7515, 'n', 9523, 'y', 'N', 4307, 3457, 1235, 3197, 'p', 'Q', 5355, 5255, 'E', 417, '5877', 'E', 'd', '1819', '2441', '7059', '2535', '4855', '2281', '4211', '9017', '8631', 'C', '7107', '2473', '3995', '4923', '1735', '3551', 'U', 'X', 'V', 'g', 'a', 'W', 2175, 4043, 'a', 'T', 1463, 1547, 7287, 'j', 'U', 2379, 5541, 7265]

Ex Output:
5877, E, d, 1819, 2441, 7059, 2535, 4855, 2281, 4211, 9017, 8631, C, 7107, 2473, 3995, 4923, 1735, 3551, U, X, V


Ex Input:
[3035, 7591, 'C', 'q', 'V', 'Y', 'C', 'D', '8629', '8873', 'O', '2505', '123', '8427', 'E', 'f', 'j', 's', 'G', '813', 't', '4113', '9319', '3221', 'K', 'C', 'C', '1679', 'Q', 'a', 'G', 'N', 'T', 's', 8601, 'j', 'D', 8513, 'd', 'm', 9725, 'V', 'R', 6981, 3191, 9251, 3009, 'y'], [8511, 3233, 'V', 'k', 8569, 511, 'G', 3587, 2909, 2225, 3411, 3135, 'w', 'V', 'Y', 'C', 'D', '8629', '8873', 'O', '2505', '123', '8427', 'E', 'f', 'j', 's', 'G', '813', 't', '4113', '9319', '3221', 'K', 'C', 'C', '1679', 'Q', 'a', 'k', 'S', 'S', 9041, 2591, 7417, 'N', 'W', 'b']

Ex Output:
V, Y, C, D, 8629, 8873, O, 2505, 123, 8427, E, f, j, s, G, 813, t, 4113, 9319, 3221, K, C, C, 1679, Q, a


Ex Input:
['L', 1057, 'E', 'v', '1405', '6649', 'd', 1227], ['A', 8941, 'J', 'v', '1405', '6649', 'G', 3513]

Ex Output:

v, 1405, 6649