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

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

Example Input: ['H', 'z', 'i', 2235, 'F', 7863, 5279, 6871, 6305, 545, 'i', 'x', 1179, 4813, 7929, 9261, 'm', 'w', '8797', '6621', 'o', '9615', 'Q', '3235', '5995', '939', 't', 'T', 'g', 'c', '4047', 'm', 'V', 'P', '8637', 's', 'Z', 'G', 6405, 1707], [9085, 4723, 'q', 'i', 'w', 5997, 'w', 'H', 'N', 'v', 4797, 5633, 7441, 'O', 9121, 'h', 9939, 'w', '8797', '6621', 'o', '9615', 'Q', '3235', '5995', '939', 't', 'T', 'g', 'c', '4047', 'm', 'V', 'P', '8637', 'o', 2775, 5765, 'H', 309, 609, 9481, 'x']
Example Output: w, 8797, 6621, o, 9615, Q, 3235, 5995, 939, t, T, g, c, 4047, m, V, P, 8637

Example Input: [6817, 9325, 'n', 'r', 4179, 7699, 5375, 2503, 9557, 'P', 4999, 'E', 4937, 'O', 1641, 'p', 'd', 'M', 'd', 6971, 7227, 7609, 'M', 8353, 'Z', 'j', '1775', 'C', 'X', 'a', '3053', '2433', 'h', 'A', 't', '8423', '849', 'H', 'S', 'a', '1781', '9899', '789', 'z', 'K', '529', '8905', 'k', '2673', '5571', 'F', '8673', 's', 'T', 'U', 'r'], ['R', 'B', 'K', 8347, 'a', 'b', 9323, 'K', 'o', 8605, 6933, 'e', 'M', 5891, 'L', 4323, 'o', 6967, 6151, 9967, 6373, 'X', 5079, 's', 4395, 'J', 7131, 'j', '1775', 'C', 'X', 'a', '3053', '2433', 'h', 'A', 't', '8423', '849', 'H', 'S', 'a', '1781', '9899', '789', 'z', 'K', '529', '8905', 'k', '2673', '5571', 'F', '8673', 's', 'Y', 7755, 't', 4793, 'q', 8259, 341, 'K', 'z', 'c', 'T', 'X', 'C', 7245, 5539, 'l', 'b', 235, 6037, 1471]
Example Output:
j, 1775, C, X, a, 3053, 2433, h, A, t, 8423, 849, H, S, a, 1781, 9899, 789, z, K, 529, 8905, k, 2673, 5571, F, 8673, s