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

Input: Consider Input: ['i', 6169, 'H', 'j', '1043', 'q', 'N', 's', '1551', 'h', '6295', 'k', '483', 'P', 'J', '3109', '5891', '4833', '2077', '9181', '5315', 'q', '3105', '1485', 'l', '6357', '263', '1909', '3831', '2687', 'Y', 'b', 3307, 1253, 'd', 4153, 5165, 'X', 'Y', 'p', 'k', 's', 4017, 'e', 4835, 'o', 'm', 's', 'W', 1065, 'w', 3035, 1293], ['T', 'O', 'W', 1109, 7427, 'm', 'j', '1043', 'q', 'N', 's', '1551', 'h', '6295', 'k', '483', 'P', 'J', '3109', '5891', '4833', '2077', '9181', '5315', 'q', '3105', '1485', 'l', '6357', '263', '1909', '3831', '2687', 'Y', 'o', 2219, 't', 1363, 1859, 'q', 'i', 'm', 5347, 2917, 5197, 'X', 'K', 1627, 'y', 'I', 8881, 5109, 1281]

Output: j, 1043, q, N, s, 1551, h, 6295, k, 483, P, J, 3109, 5891, 4833, 2077, 9181, 5315, q, 3105, 1485, l, 6357, 263, 1909, 3831, 2687, Y


Input: Consider Input: [2687, 7971, 2141, 'X', 'z', 1281, 'K', 6109, 7773, 'P', 5247, 'j', 'K', 5225, 'c', 4401, 'Z', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'B', 'k', 4913, 5483, 1465, 'F', 9669, 'i', 'L', 'q', 'n'], ['k', 'g', 'e', 'I', 'v', 97, 'N', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'H', 7153, 7967, 'u', 7859, 1387, 7361]

Output: j, Y, 4799, h, 5519, n, 3231, l, 3003, F, 5599, J, q, r, 889, e, 9805, X


Input: Consider Input: ['W', 'y', 'f', 103, '6905', 'e', '1983', '3807', 'Q', '937', '6641', 'h', '6767', 'u', 'M', '5883', '783', 'S', 'I', 5939, 't', 'I', 'J', 'z', 7861, 'c', 'Y', 'g', 'E', 'R'], ['i', 'H', '6905', 'e', '1983', '3807', 'Q', '937', '6641', 'h', '6767', 'u', 'M', '5883', '783', 'S', 'c', 1885, 'X', 'e', 'W', 'm', 3965, 'j', 'I']


Output: 6905, e, 1983, 3807, Q, 937, 6641, h, 6767, u, M, 5883, 783, S