In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'T', 8773, 1641, 'h', 'e', 1009, 'N', 'i', 1309, 'N', 9833, 'G', 'S', 1589, 'G', 'G', 7311, 'j', 'z', 'N', '2865', 'o', '1783', 'e', '1235', 'v', '4085', '4393', 'W', 'z', '5543', '8973', '2311', '5919', 'a', 'r', '3623', '9429', '2463', 'k', '5165', '2727', 'M', 'O', 8671, 4751, 8743, 9621, 'A', 'i', 6627, 'S'], ['f', 5295, 'm', 'U', 'h', 7867, 7525, 577, 'z', 6579, 'K', 'j', 'Q', 'q', 9063, '2865', 'o', '1783', 'e', '1235', 'v', '4085', '4393', 'W', 'z', '5543', '8973', '2311', '5919', 'a', 'r', '3623', '9429', '2463', 'k', '5165', '2727', 'M', 'K', 'y', 7137, 'u', 'h', 'e']