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

Example Input: ['P', 'E', 'w', 4729, 8995, 'z', 3939, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'v', 1077, 153, 8063, 'h', 'k'], ['A', 2845, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'h', 9115, 'v', 275, 'C', 7405, 4211, 'X', 'O', 'e', 'n', 2507, 875, 'o', 6189, 'g', 'k', 3781, 1027, 807, 'g', 7213]
Example Output: 9711, 4699, c, 351, 7279, A, 719, j, 9659, 8455, 6859, E, 903, 1827, M, 3035, N, 2573, 4995, U, 8289, k, b, U, 1961

Example Input: [8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']
Example Output: X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301

Example Input: ['H', 'k', 'T', 8979, 'a', 3011, 'T', 'v', 1279, 615, 'U', '2575', 'H', '2891', 'i', 'V', '2031', '185', '2387', '8857', 'E', 'H', '2665', 'o', 'T', 'x', '1133', '5213', 'd', 'G', '5301', '9593', 'q', 'S', '4985', 't', 'g', 'c', 4135, 4237, 3169, 'S', 'w', 'R', 3993, 'T', 9001, 9025, 'O', 'e', 8241], [1001, 'v', 'v', 'c', 'h', 'X', 'K', '2575', 'H', '2891', 'i', 'V', '2031', '185', '2387', '8857', 'E', 'H', '2665', 'o', 'T', 'x', '1133', '5213', 'd', 'G', '5301', '9593', 'q', 'S', '4985', 'J', 'O', 5619, 'w', 'p']
Example Output:
2575, H, 2891, i, V, 2031, 185, 2387, 8857, E, H, 2665, o, T, x, 1133, 5213, d, G, 5301, 9593, q, S, 4985