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

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: [4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']
Example Output: 57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J

Example Input: ['B', 'W', 7625, 'E', 'b', 'y', 'C', 'i', 9821, 115, 'P', 'i', '699', 'd', 'C', '1691', 'P', 'o', '6723', '4455', '2115', 'i', 'x', 'I', 'D', '7667', 'F', '4299', '2769', '3009', 'x', 'v', 4853, 5361, 'X', 113, 'n', 4383, 'n', 1861, 'Y', 6097, 993, 'J', 'v', 4295], ['F', 'N', 4451, 'i', 'a', 2725, 5533, '699', 'd', 'C', '1691', 'P', 'o', '6723', '4455', '2115', 'i', 'x', 'I', 'D', '7667', 'F', '4299', '2769', '3009', 'N', 1817, 3515, 4139, 3527, 6485, 'g', 8375, 6047, 4329, 7427, 'O', 't', 'E', 'z']
Example Output:
699, d, C, 1691, P, o, 6723, 4455, 2115, i, x, I, D, 7667, F, 4299, 2769, 3009