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

Example Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]
Example Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189

Example Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
Example Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

Example Input: [385, 7155, 'A', 'x', 5387, 2779, 4881, 'C', 1675, 1601, 6131, 2339, 2037, '4875', 'G', '8493', 'p', 'e', '2517', 'F', 'e', 'a', 'T', '2719', '10015', 'I', 'V', 7407, 'd'], [3891, 7249, 7457, 'F', 6193, 'o', 2573, 7491, 'h', '4875', 'G', '8493', 'p', 'e', '2517', 'F', 'e', 'a', 'T', '2719', '10015', 'I', 'v', 763, 'M', 'c', 'z']
Example Output:
4875, G, 8493, p, e, 2517, F, e, a, T, 2719, 10015, I