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

Example Input: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]
Example Output: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R

Example Input: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']
Example Output: 8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165

Example Input: [1335, 'q', 2527, 's', 'n', '6375', '3609', 'Z', 'N', 6999], [1275, 'm', 9393, 'n', '6375', '3609', 'Z', 'i', 4325]
Example Output:
n, 6375, 3609, Z