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

Example Input: [1477, 'o', 1059, 'R', 't', 97, 7251, 1765, 'V', 1139, 'h', 7923, 'J', 'E', '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'Y', 9333, 'm', 'V', 'T', 3427, 3397, 507, 'Y', 'k', 907, 'b', 8791, 'A'], ['Y', 6653, 'v', 9685, 'D', 2111, 'd', 'y', 5885, 5653, 'i', 6307, 2051, 7807, '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'd', 9367, 'Y', 3109, 7395, 'R', 'L', 9041]
Example Output: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g

Example 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']
Example 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

Example Input: [141, 'c', 4595, 'N', 'T', 'O', 'Z', 1225, 2935, '2111', '6671', 'S', 'R', '8095', 'e', 'o', 'b', '6253', 'D', '5073', '9869', 'b', '9735', 'y', '3899', 'l', '8015', '3237', 'N', 'j', 5611, 'n', 'x', 'F', 2321, 1033], [965, 5223, 'C', 1721, 'c', 6717, 'P', 577, 'p', 2245, 'K', 7969, 3245, 8553, 6379, 'q', 'z', 5641, 219, '2111', '6671', 'S', 'R', '8095', 'e', 'o', 'b', '6253', 'D', '5073', '9869', 'b', '9735', 'y', '3899', 'l', '8015', '3237', 'Q', 'V', 'f', 2947, 4259, 'f', 'B', 'i', 'F', 'W', 6431]
Example Output:
2111, 6671, S, R, 8095, e, o, b, 6253, D, 5073, 9869, b, 9735, y, 3899, l, 8015, 3237