In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3321, 'h', 305, '1289', 'C', '3281', 'r', '723', 'w', '3317', 'M', 'B', '5935', 'J', 6053, 'd', 5205, 'c', 'I', 'J'], ['c', 'R', 'z', 'J', 'p', 'i', 9729, '1289', 'C', '3281', 'r', '723', 'w', '3317', 'M', 'B', '5935', 2179, 'X', 'f', 'R', 9959, 8849, 'G', 'l', 'S']