In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5231, 'H', 'y', 7585, 1769, 5279, 9311, 1933, 'G', 'K', 'n', 'c', '6903', 'P', 'P', '3553', '5959', 'r', 'T', 'p', '7403', 'C', 'B', 'S', 165, 'e', 'o', 'H', 153, 2511, 6441, 4275, 'D'], ['G', 6631, 1853, 2871, 'h', 'G', 'K', 'n', 'c', '6903', 'P', 'P', '3553', '5959', 'r', 'T', 'p', '7403', 'C', 'f', 'i', 'e', 2603, 'E', 'D', 2143, 8991, 5591, 'I', 'g']