In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1557, 'U', 'n', '4395', '3729', '7095', 'e', 'g', '3071', '43', '5237', 'o', 'w', 4479, 'J'], [1081, 'e', 4893, 3929, 643, 3135, 'O', 'H', 'm', 'S', 'n', '4395', '3729', '7095', 'e', 'g', '3071', '43', '5237', 'o', 'L', 'y', 4899, 349, 9151, 9597, 'H', 8091]