In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2661, 'D', 5163, 9223, 'K', 'P', 9291, 'U', 't', 6669, 'S', 't', '8743', 'C', 'y', '8737', 'T', 'g', '8009', '7391', 'K', '9389', 'w', 'A', '577', 'N', 'e', 4897, 589, 3737, 'Q'], ['E', 'w', 'S', 't', '8743', 'C', 'y', '8737', 'T', 'g', '8009', '7391', 'K', '9389', 'w', 'A', '577', 'N', 'm', 'L', 7523, 'k', 'F', 'Y']