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: [3453, 883, 'a', 'C', 7891, 'T', 8245, 9759, 'J', 'Z', 6515, 'B', 'j', 3353, 859, 2123, 3289, 'I', 'e', 'p', 4473, 'A', 7815, 4401, 'Z', 2071, 'm', 'C', '4283', '8455', '697', '1653', '6739', '7729', 'K', 'a', 'v', 'c', '69', '7427', '4721', '7015', '497', '7697', '7533', 'l', 'l', 'U', '6481', 'm', '5107', 'v', 'M', 'u', '3649', 'O', 5601, 5705, 'B', 2271, 7875, 'E', 4389, 'U', 9283, 'v', 2119, 457, 'W', 'd', 'C', 'i', 3311, 'X'], ['u', 'z', 'I', 'x', 'l', 'm', 'C', '4283', '8455', '697', '1653', '6739', '7729', 'K', 'a', 'v', 'c', '69', '7427', '4721', '7015', '497', '7697', '7533', 'l', 'l', 'U', '6481', 'm', '5107', 'v', 'M', 'u', '3649', 'J', 9139, 9981, 'O', 5677, 9201, 3941, 'r', 'w', 5597, 9451, 2807, 3577]
Example Output: m, C, 4283, 8455, 697, 1653, 6739, 7729, K, a, v, c, 69, 7427, 4721, 7015, 497, 7697, 7533, l, l, U, 6481, m, 5107, v, M, u, 3649

Example Input: ['f', 'a', 'k', 'Z', 'U', 5847, 7237, 'C', 'Z', '4677', '9481', '1211', 'Y', '4379', 'K', '2115', '4755', '1873', '9139', '1069', 'S', 't', 741, 903, 'm', 9607], [2979, 'o', 'd', 1269, 'u', 'J', 2081, 3187, 'h', 6905, 4839, 'C', 'Z', '4677', '9481', '1211', 'Y', '4379', 'K', '2115', '4755', '1873', '9139', '1069', 'S', 'F', 'H', 'B', 'Q', 8115, 'x', 'F', 'w', 9341, 'r']
Example Output:
C, Z, 4677, 9481, 1211, Y, 4379, K, 2115, 4755, 1873, 9139, 1069, S