In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6577, 'C', 'W', 's', 393, 6157, 'j', 'f', 3761, 'y', 'A', 2699, 'w', 'B', 9349, 'L', 155, '1305', '3277', 'u', 'T', 'J', 'R', 't', 't', 'f', '1037', 'a', '6597', 'm', 'N', 's', '4577', '10001', 'I', '5633', 'M', '2163', '745', 'S', 'Z', '313', 'u', 'w', 'a', 'e', 'G', 'Y', 6821, 8901, 'o', 'A', 4553, 7351, 4833, 1025, 'a', 1819, 'm', 4741, 't', 'K', 'A'], ['n', 'I', 'g', 6789, 'j', 'n', 3031, 9991, 's', 'N', '1305', '3277', 'u', 'T', 'J', 'R', 't', 't', 'f', '1037', 'a', '6597', 'm', 'N', 's', '4577', '10001', 'I', '5633', 'M', '2163', '745', 'S', 'Z', '313', 'u', 'w', 'Z', 6407, 9557, 'd', 'u', 6141, 'Y', 'p', 2643, 'D']