In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1401, 'B', 5095, 1989, '8925', '7129', 'i', '5693', '7219', '491', '7779', 'b', '1855', 'p', '4495', '9275', 'N', 'L', 'V', 'U', '8527', 'D', 9897, 'o'], [4077, 883, 'W', 'Z', 3321, 7811, 4999, 'p', 9199, 'y', 4921, 7799, 1377, 'w', 5707, '8925', '7129', 'i', '5693', '7219', '491', '7779', 'b', '1855', 'p', '4495', '9275', 'N', 'L', 'V', 'U', '8527', 'y', 3301, 2077, 6503, 'f', 159, 'i', 'c', 'M']