In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'F', 4573, 'w', 9885, 'p', 'Q', 3275, 2959, 1529, 'i', 'p', 7579, 'W', 'X', 1809, 5375, 'P', 2823, 8207, 'P', 7707, '5485', 'z', '6943', 'A', '4013', 'R', 'J', 'g', 'S', 'N', 'P', 'D', 'K', 's', 'J', 'u', '5139', '3105', 'O', '2627', 'T', '515', 'f', 'v', 'C', 'V', 'L', 'U', 'c', 'b', 7059, 'A', 3237, 'D', 'q', 'i', 'S', 8257, 9091, 'v', 'Y', 'A', 'v', 'q', 5111, 'C', 5783, 'k'], ['W', 1655, 2427, 'R', 433, 't', 't', 'R', 8531, 3229, 'S', 4861, 'D', 9901, 8967, 5967, 585, 'Z', 3371, 'A', 'Y', 'd', '5485', 'z', '6943', 'A', '4013', 'R', 'J', 'g', 'S', 'N', 'P', 'D', 'K', 's', 'J', 'u', '5139', '3105', 'O', '2627', 'T', '515', 'f', 'v', 'C', 'V', 'L', 'U', 'c', 'X', 525]