In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8611, 8115, 9189, '5063', '243', '3555', '1767', '589', '393', 'Z', 'w', 2439, 6009, 3941, 6677, 'h', 3501], ['i', 9447, 'n', 'M', 6499, 7627, '5063', '243', '3555', '1767', '589', '393', 'Z', 't', 'E', 2677, 'U', 4067, 'p', 3935]