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

Input: Consider Input: [8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]

Output: 5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571


Input: Consider Input: [9945, 'B', 'P', 1687, 1255, 'E', 769, 2539, 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'G', 'w', 'E', 'G'], [1097, 3119, 'V', 'i', 'v', 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'O', 7411, 'y', 'H', 7657, 2977, 'T', 'R', 265, 6097, 'g', 'a', 'R', 3391, 'd', 6175, 'm', 143, 4285, 5701, 2557, 'f']

Output: W, 9795, y, 1335, H, 999, 5451, V, 1087, e, H, 7027, 7313, v, 1101, j, Q, 2191, 8039, 1239, I, S, M, P, 4387, 4795, X, l


Input: Consider Input: ['D', 'B', 'd', 'p', 'b', 'C', 'I', 1199, 1921, 'I', 'i', 5755, 'R', 9791, 'V', 2379, 'l', 'f', 8965, 't', 'j', 3739, 5745, 8147, 'y', 'j', 'r', 'J', 'E', '4531', '3821', '1925', 'P', '5171', 'D', '6029', 'w', '7085', '5019', '797', 'P', '7339', 'l', '7553', 'F', '4169', '4353', '8863', 'a', 'P', 'F', 9033, 6601, 9177, 4251, 'h', 'z'], [7403, 5105, 'o', 'J', 'E', 'G', 'C', 8799, 'G', 455, 'i', 'Y', 599, 'j', 'r', 'J', 'E', '4531', '3821', '1925', 'P', '5171', 'D', '6029', 'w', '7085', '5019', '797', 'P', '7339', 'l', '7553', 'F', '4169', '4353', '8863', 'a', 'P', 'k', 'u', 't', 407, 'F', 'k', 6429]


Output: j, r, J, E, 4531, 3821, 1925, P, 5171, D, 6029, w, 7085, 5019, 797, P, 7339, l, 7553, F, 4169, 4353, 8863, a, P