In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 'm', 'y', 565, 5389, '8899', 'd', '391', '7967', '2077', 'x', 'f', '1727', 'I', 'Q', 'a', 'Z', 'S', 'g', 5703, 'P', 9213], [553, 'X', 5713, 'r', '8899', 'd', '391', '7967', '2077', 'x', 'f', '1727', 'I', 'p', 'K']