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

Ex Input:
[987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']

Ex Output:
h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q

Ex Input:
['Y', 6449, 'w', 5543, 4639, 1899, 'd', 3489, 'x', 'c', 2891, 'H', 9885, 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'P', 'M', 'D', 'U', 6013, 5931, 2445, 'f', 7619, 'm', 6105, 'l'], [453, 583, 'Q', 5309, 2713, 'E', 5809, 'w', 'T', 9873, 4971, 8173, 1659, 2277, 'y', 8653, 1569, 'M', 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'C', 'W', 'r', 'x', 'H', 3247, 'G', 'R', 7035, 6599, 'U', 't']

Ex Output:
t, N, s, A, E, 3601, p, n, m, y, 6587, v, 247, k, 7529, T, 623, 8713, 7551, 3433, 7981, q, F, n, 3275, 3265, n

Ex Input:
[3043, 9479, 's', 'Z', 'Y', '6117', '3001', '2153', '6547', '8501', '5981', 'q', 'G', 'd', '1653', 'C', 'k', 'T', '5167', '4977', '2147', 'i', 'm', '5263', '4305', '4099', 'Z', '2741', '3947', 'n', '1685', 'P', 3371, 4675, 4699, 2435, 'N', 3187, 5931, 3845, 2251, 9887, 5343, 'D', 7391, 1835, 317, 2493, 'Q', 9687, 3067, 'D', 8175, 7403, 'u', 'i'], [1397, 6961, 6883, 'l', 7279, 'U', 'n', 9081, 'S', 4213, 'a', 5069, 'k', 8587, 'y', 'O', 6199, '6117', '3001', '2153', '6547', '8501', '5981', 'q', 'G', 'd', '1653', 'C', 'k', 'T', '5167', '4977', '2147', 'i', 'm', '5263', '4305', '4099', 'Z', '2741', '3947', 'n', '1685', 'y', 1691, 6991, 'F', 'Z', 'W', 'N', 4929, 'c', 807, 4543, 'z', 783, 8173, 9227, 'q', 3975, 'y']

Ex Output:
6117, 3001, 2153, 6547, 8501, 5981, q, G, d, 1653, C, k, T, 5167, 4977, 2147, i, m, 5263, 4305, 4099, Z, 2741, 3947, n, 1685