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:
[9875, 'g', 8729, 'h', 'F', 'v', 'v', 8307, 6379, 3165, 7055, 'f', 'p', 3707, 'P', 6305, 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'k', 7761], [9061, 1241, 'd', 3917, 'm', 9457, 'n', 1493, 725, 'O', 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'o', 'J', 'c', 6919, 'O', 'O', 8809, 'J', 'v', 'O', 4633, 941, 'z', 6667, 'X', 'C', 'd', 5189]

Ex Output:
h, 9891, 2783, D, 7567, 95, T, U, 2035, W, C, B, 9943, B, 9033, 6511, e, 2623, O, Z


Ex Input:
[333, 'C', 'Q', 1473, 'O', 'R', 1999, 2317, 'U', 'Z', 'y', '3555', '1231', 'c', '6471', 'z', '7263', 'i', '5109', '8355', 'i', '7101', '3573', '1743', 'D', '8129', '3387', '4575', '7291', 'D', 't', '8227', 'a', 'O', 'Q', 'J', 'K', '8843', 't', 'l', 6149, 'X', 'g'], [4933, 't', 2307, 'E', 'L', 'b', 2507, 'j', 'C', 2725, 8943, 7999, 5331, 'F', 8101, 'c', 3361, 'x', 'u', 'I', 4023, 'E', 'G', 'y', '3555', '1231', 'c', '6471', 'z', '7263', 'i', '5109', '8355', 'i', '7101', '3573', '1743', 'D', '8129', '3387', '4575', '7291', 'D', 't', '8227', 'a', 'O', 'Q', 'J', 'K', '8843', 't', 'q', 7391, 'K', 3391, 'y', 1275, 7205, 5373, 1549, 'f', 1871, 'k', 'x']

Ex Output:

y, 3555, 1231, c, 6471, z, 7263, i, 5109, 8355, i, 7101, 3573, 1743, D, 8129, 3387, 4575, 7291, D, t, 8227, a, O, Q, J, K, 8843, t