In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8499, 4679, 'A', 'Q', 'z', '7781', 'G', '7739', 'C', 'y', 2449, 's'], ['K', 577, 'j', 'V', 'z', '7781', 'G', '7739', 'e', 'L']