TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']

SOLUTION: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707

PROBLEM: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']

SOLUTION: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749

PROBLEM: [9311, 'q', 5779, 'o', 'V', 'T', 'B', '5953', '6189', '6133', 'y', '9591', '7491', '9437', 'Y', 'H', '9527', 's', '8413', '4687', '3925', '1939', 's', 5347, 2787, 's', 3295, 3579, 381], [1885, 'B', 'D', 7789, 6927, 2885, 'v', 's', 8635, 5683, 'a', 'r', 'e', 3877, 'l', 4097, 'B', '5953', '6189', '6133', 'y', '9591', '7491', '9437', 'Y', 'H', '9527', 's', '8413', '4687', '3925', '1939', 'H', 3703, 9567, 'K', 'g', 'O', 'U', 4381, 2129, 'K', 5271, 'v', 4973, 7141]

SOLUTION:
B, 5953, 6189, 6133, y, 9591, 7491, 9437, Y, H, 9527, s, 8413, 4687, 3925, 1939