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

Example Input: [6551, 'm', 4517, 'K', 9519, 'N', 6797, 'A', 'a', 5043, 2961, 1305, 'J', 'M', 'g', 5639, 6235, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'P', 'd', 9867, 6599, 'W', 'N', 4217, 'c', 5009], ['t', 9641, 7799, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'U', 'f', 8123, 'U', 3339, 4751]
Example Output: 9717, 6917, 7949, e, 2855, V, 4493, G, 375, e, 9909, J, t, N, 4535, 9963, 8917, W

Example Input: ['i', 6169, 'H', 'j', '1043', 'q', 'N', 's', '1551', 'h', '6295', 'k', '483', 'P', 'J', '3109', '5891', '4833', '2077', '9181', '5315', 'q', '3105', '1485', 'l', '6357', '263', '1909', '3831', '2687', 'Y', 'b', 3307, 1253, 'd', 4153, 5165, 'X', 'Y', 'p', 'k', 's', 4017, 'e', 4835, 'o', 'm', 's', 'W', 1065, 'w', 3035, 1293], ['T', 'O', 'W', 1109, 7427, 'm', 'j', '1043', 'q', 'N', 's', '1551', 'h', '6295', 'k', '483', 'P', 'J', '3109', '5891', '4833', '2077', '9181', '5315', 'q', '3105', '1485', 'l', '6357', '263', '1909', '3831', '2687', 'Y', 'o', 2219, 't', 1363, 1859, 'q', 'i', 'm', 5347, 2917, 5197, 'X', 'K', 1627, 'y', 'I', 8881, 5109, 1281]
Example Output: j, 1043, q, N, s, 1551, h, 6295, k, 483, P, J, 3109, 5891, 4833, 2077, 9181, 5315, q, 3105, 1485, l, 6357, 263, 1909, 3831, 2687, Y

Example Input: ['i', 5811, 'j', 3875, '9667', 'R', '2545', 'i', '8937', '6873', 'Q', 4657, 'e'], [2249, 'P', 'w', 9665, 6823, 'k', '9667', 'R', '2545', 'i', '8937', '6873', 't', 'W', 7533, 's', 'A', 3879]
Example Output:
9667, R, 2545, i, 8937, 6873