In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4947, 429, 1921, 7655, '4005', 'D', '4803', '7547', '3173', '6217', '8351', '9067', 'H', 'i', '8817', 'd', '6977', '1117', 'i', '2981', 'o', '1471', '2951', 'j', 2097, 1207, 'b', 'g', 6781, 2461, 1971], ['J', 'K', 'Y', 'h', 2977, 7757, 8339, 881, 4323, 3, 'g', 'T', '4005', 'D', '4803', '7547', '3173', '6217', '8351', '9067', 'H', 'i', '8817', 'd', '6977', '1117', 'i', '2981', 'o', '1471', '2951', 7839, 'D', 'w', 7861, 117, 'o', 'z', 205, 'Q', 8725, 7355, 'V', 'C']