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

Input: Consider Input: ['U', 1887, '8423', 'j', '8053', 'g', '5441', 'H', 'j', 3847, 'd', 'J', 1971, 'M'], ['y', 'T', 'C', 'z', 6299, 5393, '8423', 'j', '8053', 'g', '5441', 'H', 'x', 'f', 4189, 'h', 'e', 6577]

Output: 8423, j, 8053, g, 5441, H


Input: Consider 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]

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


Input: Consider Input: ['t', 'V', 4425, 'x', 4005, 'P', 'Q', '1697', '2639', 'u', '6893', 'N', 'U', '3819', 'd', 'm', '1283', 'k', 6225, 'F'], [2787, 'A', 325, 6717, 7667, 8033, '1697', '2639', 'u', '6893', 'N', 'U', '3819', 'd', 'm', '1283', 'Q', 'M', 3, 'L', 8081, 7803, 'X', 'G']


Output: 1697, 2639, u, 6893, N, U, 3819, d, m, 1283