In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: [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]

Answer: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g


Question: [4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']

Answer: A, 5181, i, X, h, J


Question: ['e', 'c', 'E', 'd', 'D', 'L', 'h', 'k', 'P', '3951', 'R', 'U', 'Y', 'h', 'r', 2881, 'O'], [1491, 1123, 'h', 'k', 'P', '3951', 'R', 'U', 447, 'V', 'A', 3357]

Answer:
h, k, P, 3951, R, U