In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'Q', 'D', 'Z', 'X', '9225', '799', 'i', 'G', 2425], ['B', 'A', 'Z', 'X', '9225', '799', 'u', 'z', 9327]