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

Input: Consider Input: [2585, 'R', 'a', 9005, 829, 1751, 'I', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'Q', 'K', 1021, 635, 'L', 'r', 'D', 6997, 4363, 'm', 2661, 7933, 'v'], [2855, 'Q', 7207, 'F', 9581, 9807, 3127, 6695, 4363, 'V', 'd', 2791, 't', 4507, 1047, 5959, 2697, 6393, 1751, 5521, 'S', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'C', 437, 'c', 63, 469, 'R', 'I', 10007, 'B', 'S', 4919, 'V', 7431, 9317, 9909, 421, 'J', 't', 'O', 'r', 3653]

Output: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507


Input: Consider Input: ['r', 9177, 1593, 9315, 'C', 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'A', 2489, 3955, 1603, 6355], ['I', 'W', 7673, 'm', 'E', 9111, 4177, 9355, 'Z', 'w', 'X', '1005', '185', '837', 'p', '2923', 'Y', 'v', 9065, 2309, 5041, 1047, 1263, 'V', 3483]

Output: Z, w, X, 1005, 185, 837, p, 2923, Y


Input: Consider Input: [6311, 2171, 'J', 3979, 5159, 7479, 405, 8851, 3589, 'y', 'A', 6785, 9311, 'P', 's', '1233', 'o', '9577', '4997', '745', '5577', 'M', 'J', '4317', '1597', '2173', '7555', 'X', 'l', '4671', '3813', '2195', '5681', '3219', 'q', 'O', 5545, 'b', 'u', 'G'], [4769, 'g', 843, 8207, 701, 'b', 'f', 'H', 'u', 'G', 9523, '1233', 'o', '9577', '4997', '745', '5577', 'M', 'J', '4317', '1597', '2173', '7555', 'X', 'l', '4671', '3813', '2195', '5681', '3219', 'q', 'U', 'z', 8913, 5455, 'N', 'T', 'B', 7177, 8315, 'j', 8917, 'S', 'K', 'V', 9241, 3875, 'L', 7401, 9635]


Output: 1233, o, 9577, 4997, 745, 5577, M, J, 4317, 1597, 2173, 7555, X, l, 4671, 3813, 2195, 5681, 3219, q