In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[605, 9023, 'w', '6457', '4627', 'K', 'U', '5939', 'Y', '2629', '7357', 'Q', 'o', 'N', 'f', 'u', 'K', 'b', 9659, 8147, 6861, 1303, 7879, 'G', 9637, 'N', 'E', 'Q'], ['i', 'i', 'G', 'O', 'i', 'I', 5675, '6457', '4627', 'K', 'U', '5939', 'Y', '2629', '7357', 'Q', 'o', 'N', 'f', 'u', 'K', 'D', 'G', 'G', 'Z']