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

Input: Consider Input: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']

Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K


Input: Consider Input: ['Q', 'j', 'l', 9319, 3707, 'P', 8413, 1819, 6701, 't', 'P', 6579, 'U', 'i', 'I', 7473, 'g', 'u', 'Z', 'u', 'p', '5493', 'G', 'o', 'f', 'f', '1149', '1783', '4221', 'b', '1851', 'p', 'G', 'S', '3177', 'F', 't', 'v', '7327', 'b', '6949', 'V', 'k', '241', '8297', 'D', 4097, 4329, 1829, 'm', 'D', 9185, 'W', 'j', 'K', 2405, 'w', 'C', 8301], [9761, 'K', 'M', 3589, 'R', 'u', 'y', 2909, 'q', 'z', 'N', 2453, 'p', '5493', 'G', 'o', 'f', 'f', '1149', '1783', '4221', 'b', '1851', 'p', 'G', 'S', '3177', 'F', 't', 'v', '7327', 'b', '6949', 'V', 'k', '241', '8297', 'r', 3865, 'I', 'E', 'O', 'e', 'y', 3913, 'J', 'n', 6849, 'c', 5225, 'I', 'E', 9961, 3135, 'e', 'C', 5747, 'm', 'H', 'A', 3135, 6033]

Output: p, 5493, G, o, f, f, 1149, 1783, 4221, b, 1851, p, G, S, 3177, F, t, v, 7327, b, 6949, V, k, 241, 8297


Input: Consider Input: [7553, 'c', 'a', 'o', 8051, 1539, 'z', 'i', 'f', 's', 'b', 9807, 5865, 1789, 5487, 'p', 1001, 5231, 'o', 9691, 777, 'K', 'Q', '8201', 't', 'l', '7789', '9439', '2613', 'H', '8757', '5999', '5819', 'm', '263', 'H', '9573', 'Q', 'M', 'w', '8237', '2151', 'S', 'B', 'l', 3629, 2081, 'v', 8907, 'l', 5523, 9813, 'z', 'x', 'p', 'O', 'v'], [9835, 3337, 2733, 5325, 'Q', '8201', 't', 'l', '7789', '9439', '2613', 'H', '8757', '5999', '5819', 'm', '263', 'H', '9573', 'Q', 'M', 'w', '8237', '2151', 'S', 'B', 'j', 9603, 'A', 'j', 't', 'o', 'h', 'o', 'C', 2469, 7455, 'd', 8519, 'y']


Output: Q, 8201, t, l, 7789, 9439, 2613, H, 8757, 5999, 5819, m, 263, H, 9573, Q, M, w, 8237, 2151, S, B