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

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

PROBLEM: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']

SOLUTION: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955

PROBLEM: ['S', 2529, '6317', '4359', 'L', 'g', 'h', '1085', '5137', 'V', 'g', '3977', 'Y', '1435', '9873', 'w', 'g', 'C', '9365', '4133', '7511', 'A', 'A', 'j', 'A', '6179', 'N', '7967', '1235', '1059', 'V', 'n', 607, 7905, 'S', 4553, 4575, 'w', 7247, 'R', 1555, 'a', 'G', 'k'], [8057, 4397, 'S', '6317', '4359', 'L', 'g', 'h', '1085', '5137', 'V', 'g', '3977', 'Y', '1435', '9873', 'w', 'g', 'C', '9365', '4133', '7511', 'A', 'A', 'j', 'A', '6179', 'N', '7967', '1235', '1059', 'V', 'E', 3309, 3451, 6997, 'U', 'o', 'h', 'C', 'y', 'o', 'h', 'e', 7373, 'M', 't', 'A', 4421, 5465, 9791, 1499, 'U', 'x', 1345]

SOLUTION:
6317, 4359, L, g, h, 1085, 5137, V, g, 3977, Y, 1435, 9873, w, g, C, 9365, 4133, 7511, A, A, j, A, 6179, N, 7967, 1235, 1059, V