In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 'u', 'E', '5307', 'J', 'M', '7779', '597', '1705', 'd', '9245', '2551', 'i', 'J', 'o', 'i', 's', 'x', 'h', 1337, 4463, 'c', 4407], ['D', 3339, 'Z', '5307', 'J', 'M', '7779', '597', '1705', 'd', '9245', '2551', 'i', 'w', 1599, 'a']