In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5309, 7235, 5519, 'C', 1105, 'S', 9081, 2365, 'd', '6547', 'y', 's', '8479', '4945', '8645', '8063', 'l', '1127', '6509', 'q', 'C', '8647', '7553', '6749', 'E', 9021, 8247, 2293, 'z', 'B', 8033, 7441, 'Y', 6017, 6907, 'g'], ['E', 'K', 'g', 'T', 9873, 'N', 4177, 'd', '6547', 'y', 's', '8479', '4945', '8645', '8063', 'l', '1127', '6509', 'q', 'C', '8647', '7553', '6749', 'I', 'q', 5901, 'q', 'q', 'Y', 8361, 'c', 'a', 597, 'g', 'I', 'F']