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: [933, 9413, 9683, 'd', 'R', 'f', 'x', 2517, 4291, 'D', 'c', 2831, 2199, 'o', 'K', 'K', 'P', 'T', 'C', '1751', '237', 'u', '7787', '4341', '1887', '6747', 'D', 'C', 'b', 'f', 'h', '6639', '1087', 'g', 'L', 'x', 'p', '3027', 'g', 'f', 'P', 'k', 'H', 1087, 9801, 'F', 9949, 7761, 'b', 'A', 'o', 'N', 'Q', 211, 9203, 'f', 4985, 'b', 9801, 9441, 821, 'a', 7155, 'T', 'P', 'F', 3369], [4525, 5493, 'K', 'P', 'T', 'C', '1751', '237', 'u', '7787', '4341', '1887', '6747', 'D', 'C', 'b', 'f', 'h', '6639', '1087', 'g', 'L', 'x', 'p', '3027', 'g', 'f', 'P', 'f', 'V', 3251, 'q', 'K', 'n', 3051, 'o', 1663, 6951, 2459, 'G', 2891, 2967, 1203, 4519, 2995, 'A', 'V', 9399, 1581, 'B', 'C']
Example Output: K, P, T, C, 1751, 237, u, 7787, 4341, 1887, 6747, D, C, b, f, h, 6639, 1087, g, L, x, p, 3027, g, f, P

Example Input: [2777, 'l', 'G', 6135, '3419', 'u', 'j', '3941', 'H', '6115', 'd', '2601', 'v', '4199', 'G', 'x', 'Z', '5147', '2457', 'T', 'V', 'L', '1231', 'h', 'L', 3677, 't', 9149, 9799, 'N', 6503, 3985, 3261, 'Q', 8495], [657, 'p', 'X', 'X', 883, 4061, 'z', 8435, 'x', '3419', 'u', 'j', '3941', 'H', '6115', 'd', '2601', 'v', '4199', 'G', 'x', 'Z', '5147', '2457', 'T', 'V', 'L', '1231', 'U', 'k', 4725, 'y', 'J', 'h', 7903, 'T', 3699, 8161, 'E']
Example Output:
3419, u, j, 3941, H, 6115, d, 2601, v, 4199, G, x, Z, 5147, 2457, T, V, L, 1231