In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 141, 9993, 6041, 'M', 'D', 'Z', 3899, 4971, 10011, 7691, 1653, 7049, 'q', 8817, 6297, 'A', '6767', '3835', 'u', 'Y', '3961', 'o', 'N', 'f', '7419', 'h', 'd', '4339', '3577', '7329', 'e', '1407', 'T', 'R', 'M', 'i', 'm', 1139, 6251, 1165, 'a', 4455, 2441, 4427, 5355, 'e', 4585, 5589], [6623, 'n', 9979, 'M', 3039, 7391, 6145, 'C', 'l', 'E', 'i', 'F', 'r', 'A', '6767', '3835', 'u', 'Y', '3961', 'o', 'N', 'f', '7419', 'h', 'd', '4339', '3577', '7329', 'e', '1407', 'T', 'R', 'M', 'n', 5811, 's', 7217, 839, 7735, 3895, 'F', 'U', 1157, 'R', 9271]