TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: [5225, 'L', 1023, 8623, 'k', 'f', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'b', 517], [1243, 't', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'x', 5545, 's', 'a']

SOLUTION: 1481, e, m, 4013, l, 831, n, 3137

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: [4621, 6745, 'S', 10025, 'x', 'z', 9107, 4369, 'U', 'F', 'J', 1707, 'g', 'u', 'P', 'O', 701, 1507, 'U', 'B', 'E', 'S', '8131', 'q', 'z', '1323', '9313', 'T', '2221', '6987', 'z', '3367', '4919', '601', 'Z', '5217', '6889', '9775', 'Z', 6165, 'n', 2565, 9379, 'y', 6555, 2979, 'q', 'v', 'X'], [3105, 6751, 6723, 551, 4035, 'U', 'B', 'E', 'S', '8131', 'q', 'z', '1323', '9313', 'T', '2221', '6987', 'z', '3367', '4919', '601', 'Z', '5217', '6889', '9775', 'O', 'L', 8363, 'i', 'b', 'G', 3255, 7871, 855, 6279, 8741, 2977, 8173, 3507]

SOLUTION:
U, B, E, S, 8131, q, z, 1323, 9313, T, 2221, 6987, z, 3367, 4919, 601, Z, 5217, 6889, 9775