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

Input: Consider Input: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]

Output: 8587, b


Input: Consider Input: [6921, 9035, 1815, 'T', 7393, 6607, 'D', 'c', 293, 'U', 4409, 4737, 3515, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'o', 'a', 'M', 7035, 'v', 4907, 'l', 9767, 9189, 6353, 2883, 'F', 'x', 7665, 6801, 'x', 'J', 'G', 5361, 'f', 'Y', 'u', 'K', 'c', 1779, 1115], [587, 779, 525, 'i', 's', 4247, 5713, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'u', 4957, 'c', 'k', 5231, 'i', 'T', 'q', 'd']

Output: I, a, 839, q, n, 2571, 5999, L, k, 9745, 9023, 7365, C, 2893, n, 7783, E, 5071, Z, 3647, f, 7281, 8791, U, t, 3969, 2029, i


Input: Consider Input: [6051, 'q', 'L', 'Z', 6259, 7155, 'g', 9089, '2869', '3093', '8799', 'i', '9257', 'v', '4055', 'G', '8811', '8363', '4563', 'c', 'Z', '3143', 'x', '7681', 'M', 't', 'I', 'N', '7103', 'g', 8497, 'B', 6353, 8491, 'n', 'm', 'y', 'u', 3595, 'u', 'F', 9531, 177, 7213, 1065], [6543, 'r', 'D', 'O', 'z', 6887, 'Y', 7031, 1679, 'g', 'r', 'i', 6181, 'O', 'h', 901, '2869', '3093', '8799', 'i', '9257', 'v', '4055', 'G', '8811', '8363', '4563', 'c', 'Z', '3143', 'x', '7681', 'M', 't', 'I', 'N', '7103', 'M', 9425, 7017]


Output: 2869, 3093, 8799, i, 9257, v, 4055, G, 8811, 8363, 4563, c, Z, 3143, x, 7681, M, t, I, N, 7103