Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4205, 'P', 1465, 3165, 4095, 8475, 6617, 7083, 'U', 'b', 7411, 3631, 7267, 'E', '3959', '4991', 't', 'q', 'O', 'k', 'l', '3081', 'd', '1285', '3119', 't', 'D', '4853', 'G', '3795', 'v', 'w', '5525', '8899', 'A', '7837', 'r', '1515', '3407', 'l', 'c', 7943, 'u', 4231, 4919, 9837, 's', 9081, 3923, 'F', 'u', 1769, 'G', 4315, 'h', 'W', 3627, 'X', 1207, 's', 4323, 2937], ['R', 'p', 'J', 1565, 167, 1097, 41, 'e', 3749, 'm', 'U', 4253, 'd', 'U', 'Y', '3959', '4991', 't', 'q', 'O', 'k', 'l', '3081', 'd', '1285', '3119', 't', 'D', '4853', 'G', '3795', 'v', 'w', '5525', '8899', 'A', '7837', 'r', '1515', '3407', 'z', 'S', 6837, 'Q', 6005, 'P', 7487, 'z', 8579, 7753, 'm', 'P', 'J', 'U', 'C', 39, 8365, 'C', 'I', 5365, 'F', 'k', 'f', 'A', 1331]
A:
3959, 4991, t, q, O, k, l, 3081, d, 1285, 3119, t, D, 4853, G, 3795, v, w, 5525, 8899, A, 7837, r, 1515, 3407