In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]