In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 2315, 8013, 7091, 'r', 's', 'f', 325, 'J', 8585, 7023, 'r', 'g', '5077', '7203', '6287', '9769', '8813', '7535', 'G', 'o', '7359', 'u', 'D', '3957', '7985', 'l', 'd', '1631', 'D', '8685', 'P', 'z', 919, 'k', 'n', 'J', 4859, 'm', 4185, 5165, 7035], ['L', 'g', 'Y', 'c', 691, 5595, 751, 'r', 4023, 5645, 'u', 'H', 2011, 5863, 7959, 'g', '5077', '7203', '6287', '9769', '8813', '7535', 'G', 'o', '7359', 'u', 'D', '3957', '7985', 'l', 'd', '1631', 'D', '8685', 'H', 'e', 'p', 'M', 'Y', 4045, 6433, 7873, 'X', 'j', 'Z', 1719]