TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: [2255, 4205, 'U', '7567', 'k', 5167], ['Q', 9439, 'U', '7567', 'H', 1307]

SOLUTION: U, 7567

PROBLEM: ['E', 'V', 5783, 'G', 8167, 7189, 'I', 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'X', 1807, 7157, 'S', 6831, 'T', 805, 'H', 2489, 'S', 'F', 7167, 'Q', 2907, 6863, 'k', 6843, 2527], ['R', 'y', 'k', 8823, 337, 1587, 'S', 'm', 5803, 'Q', 7073, 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'S', 'O', 2883, 'o', 7283, 9175, 'G', 1287, 'u', 4403]

SOLUTION: A, 5987, d, u, 5069, v, i, 7725, 6567, 9085, 347, 4353, A, 5711, L, S, S, Z, 8949

PROBLEM: ['L', 6265, 'o', 'B', 9743, 9139, 't', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'J', 8701, 'U', 'q', 'r', 8487, 'G', 'N', 'z', 3439, 'I', 'a', 639], ['X', 7305, 'k', 4911, 1119, 'S', 'F', 8665, 3167, 1117, 6267, 4025, 'S', 'h', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'H', 7485, 5635]

SOLUTION:
4107, 821, 9019, 5149, 7817, i, 787, G, b, g, g, j, 197, n, W, Z, 7081, 4487, 1439, 1117, K, O, 2241