In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7131, 'P', 4053, 'I', '4797', 'I', 'c', 'z', 'U', 'R', 'g', 'z', 'p', 'm', 1411, 7513, 115, 6347, 'y', 'u', 'w'], ['q', 2599, 'T', 6619, 1003, 'I', '4797', 'I', 'c', 'z', 'U', 'R', 'g', 'z', 'p', 'F', 4725]