In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7047, 'D', 6273, 8289, 2637, 69, 'f', 's', 'Q', 5411, 'M', 'k', 1329, 5045, '4439', '2805', '5321', 'K', 'Z', 'x', 'h', 'h', 'T', '2547', '8881', 'r', 'I', '5103', '8595', 'P', '545', 's', 'r', 'P', 339], [3439, 4011, 9491, 'S', 'b', 'U', 9339, 'm', 89, 'W', '4439', '2805', '5321', 'K', 'Z', 'x', 'h', 'h', 'T', '2547', '8881', 'r', 'I', '5103', '8595', 'P', '545', 'J', 'g', 4447, 3335, 9605, 6811, 9881, 'r', 'e', 7223]