In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 'H', 's', 5087, 'P', '5093', 'n', '5597', 'u', '4037', 'E', 'U', '8725', 'H', '5401', '3027', 'D', 'm', 'R', 729, 'o', 2141, 'e', 7809, 7685, 'm'], [471, 8025, 'q', 5333, 't', 'P', '5093', 'n', '5597', 'u', '4037', 'E', 'U', '8725', 'H', '5401', '3027', 'D', 'r', 9111, 'Q', 8009, 'q']