In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 'a', 5497, 9507, 3731, 'Y', 'x', 'd', 'P', 1947, 'o', '7837', '1187', 'p', 'G', '9081', 'K', 'i', 'N', 'A', '9217', 'u', 7299, 3519], [1919, 4937, 'R', 'o', '7837', '1187', 'p', 'G', '9081', 'K', 'i', 'N', 'A', '9217', 'l', 't', 5305]