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

[1459, 'Z', 1075, 1869, 2979, 6659, 'M', 'U', 229, 8249, 8783, 'b', 4533, 7259, 'K', 6799, 'c', 8235, 'E', 4135, 'Z', 'W', 'c', '945', 'Y', 'a', 'x', 'm', 'H', 'g', 'j', '7445', '7465', '773', '1847', '9789', 'A', 'P', 'Q', '3287', '4137', '1733', 'Q', 'a'], [77, 9385, 9159, 6041, 429, 'w', 'k', 3721, 4603, 6439, 3031, 't', 'Z', 'W', 'c', '945', 'Y', 'a', 'x', 'm', 'H', 'g', 'j', '7445', '7465', '773', '1847', '9789', 'A', 'P', 'Q', '3287', '4137', '1733', 'e', 'R', 'o', 'U', 'z', 3583, 7495, 573, 'x', 'h', 'a', 'b', 6579, 2259, 'f', 'k', 'r', 2425, 'O', 'T']
Z, W, c, 945, Y, a, x, m, H, g, j, 7445, 7465, 773, 1847, 9789, A, P, Q, 3287, 4137, 1733