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

Input: Consider Input: ['u', 4637, 'h', 2259, 'M', 'i', 'h', 'X', 7083, 'o', 't', 9421, 't', 785, 'Y', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'C', 8237, 9899, 'M', 3217, 4903, 'I', 5279, 'T', 6849, 3373, 'x', 'S', 'l', 8665, 'V', 'v', 'I', 'A', 'E', 4367, 9513, 'i', 2897, 3433, 8091, 5011], [5327, 4587, 'E', 'w', 4287, 'W', 3339, 2729, 'q', 'Y', '5531', 'P', 'x', 'b', '4899', 'Y', '8909', '7749', 'k', '4049', '1237', 'M', '8579', 'N', '3167', '9123', '6973', '4981', 'I', '7231', '9783', '9823', 'c', 'e', '7169', '4003', 'p', 7351, 4915, 4485, 7747]

Output: Y, 5531, P, x, b, 4899, Y, 8909, 7749, k, 4049, 1237, M, 8579, N, 3167, 9123, 6973, 4981, I, 7231, 9783, 9823, c, e, 7169, 4003


Input: Consider Input: [8711, 'f', 8715, 7649, 4967, '5867', 'i', '6567', 'R', '6087', '2945', 'J', 'j', 9099, 6331], ['a', 'T', 'n', 4869, '5867', 'i', '6567', 'R', '6087', '2945', 'M', 3125, 'D', 3835]

Output: 5867, i, 6567, R, 6087, 2945


Input: Consider Input: ['w', 'M', 2811, 4391, 5929, 6659, 2815, 1711, 't', 3617, 'i', 'i', 'O', 'A', 'K', 'Z', 9505, 5241, 'q', 'q', 'a', 'x', 'm', 'C', 'i', 'P', 'A', 'y', '5365', '2581', 'a', 'p', 'j', '5321', 'G', 'N', '2337', '3745', 'y', 8131, 1191], [6137, 2433, 'S', 'q', 'a', 'x', 'm', 'C', 'i', 'P', 'A', 'y', '5365', '2581', 'a', 'p', 'j', '5321', 'G', 'N', '2337', '3745', 'S', 1747, 1045, 2451, 5141, 3285, 'I', 'z', 4221, 1417, 'K', 'Z', 7565, 1423, 9271]


Output: q, a, x, m, C, i, P, A, y, 5365, 2581, a, p, j, 5321, G, N, 2337, 3745