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

Example Input: ['J', 'b', 'R', 'v', 6421, 'i', 4179, '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 't', 9093, 9035, 8487], ['V', 'j', '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 'F', 6281, 8109, 'R', 2589]
Example Output: 3583, 7897, 9525, b, 4163, 5465, 255, 5923

Example Input: [3453, 883, 'a', 'C', 7891, 'T', 8245, 9759, 'J', 'Z', 6515, 'B', 'j', 3353, 859, 2123, 3289, 'I', 'e', 'p', 4473, 'A', 7815, 4401, 'Z', 2071, 'm', 'C', '4283', '8455', '697', '1653', '6739', '7729', 'K', 'a', 'v', 'c', '69', '7427', '4721', '7015', '497', '7697', '7533', 'l', 'l', 'U', '6481', 'm', '5107', 'v', 'M', 'u', '3649', 'O', 5601, 5705, 'B', 2271, 7875, 'E', 4389, 'U', 9283, 'v', 2119, 457, 'W', 'd', 'C', 'i', 3311, 'X'], ['u', 'z', 'I', 'x', 'l', 'm', 'C', '4283', '8455', '697', '1653', '6739', '7729', 'K', 'a', 'v', 'c', '69', '7427', '4721', '7015', '497', '7697', '7533', 'l', 'l', 'U', '6481', 'm', '5107', 'v', 'M', 'u', '3649', 'J', 9139, 9981, 'O', 5677, 9201, 3941, 'r', 'w', 5597, 9451, 2807, 3577]
Example Output: m, C, 4283, 8455, 697, 1653, 6739, 7729, K, a, v, c, 69, 7427, 4721, 7015, 497, 7697, 7533, l, l, U, 6481, m, 5107, v, M, u, 3649

Example Input: ['F', 'p', 'i', '9979', 'D', '2391', 'f', 'o'], [5463, 161, '9979', 'D', '2391', 'L', 'w']
Example Output:
9979, D, 2391