In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[47, 'H', 5881, 3451, 'H', '7507', 'C', '1327', 'n', '1823', '613', 's', 'Z', 'O', 'X', '6339', '841', '3403', 'w', '6269', 'S', '779', '233', '1001', 'X', 't', 'D', 't', 'g', 'G', 'j', '2135', '2673', '2389', 'l', 'I', 6751, 'F', 1419, 2319, 5307], [1063, 1155, 's', 8785, 7565, 'm', 7771, 'f', 5733, 'Z', '7507', 'C', '1327', 'n', '1823', '613', 's', 'Z', 'O', 'X', '6339', '841', '3403', 'w', '6269', 'S', '779', '233', '1001', 'X', 't', 'D', 't', 'g', 'G', 'j', '2135', '2673', '2389', 'l', 'S', 'f', 'L', 'z', 7327, 8693, 1869, 'L', 'i', 'D', 3371, 'z', 4463, 4517, 'P']