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

Example Input: ['s', 'M', 'y', 'b', 'S', 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'b', 'i', 'A', 2579, 8191, 'g', 3591, 4195, 'q', 1357], ['F', 'U', 'G', 7763, 1385, 'm', 1089, 4701, 1565, 'm', 9713, 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'X', 'b', 'f', 7385, 'G']
Example Output: P, J, 8781, 7865, 1961, 6767, a, r, H, j, a

Example Input: ['Y', 6449, 'w', 5543, 4639, 1899, 'd', 3489, 'x', 'c', 2891, 'H', 9885, 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'P', 'M', 'D', 'U', 6013, 5931, 2445, 'f', 7619, 'm', 6105, 'l'], [453, 583, 'Q', 5309, 2713, 'E', 5809, 'w', 'T', 9873, 4971, 8173, 1659, 2277, 'y', 8653, 1569, 'M', 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'C', 'W', 'r', 'x', 'H', 3247, 'G', 'R', 7035, 6599, 'U', 't']
Example Output: t, N, s, A, E, 3601, p, n, m, y, 6587, v, 247, k, 7529, T, 623, 8713, 7551, 3433, 7981, q, F, n, 3275, 3265, n

Example Input: [2741, 'V', 'Y', 'J', 7741, 2725, 'w', 'S', '4801', 'N', 'O', '4209', 'N', '5833', '8279', 'B', 'v', 2979], ['q', 5115, 735, 'r', 'I', 'Y', 3643, 'S', '4801', 'N', 'O', '4209', 'N', '5833', '8279', 'U', 8011, 2491]
Example Output:
S, 4801, N, O, 4209, N, 5833, 8279