In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3659, 4455, 'G', 'i', 'O', '8317', '7627', 'l', 'F', '9599', '4585', 'h', '3563', 'W', '7449', 'P', 'o', 1425], ['S', 1449, 'J', 'H', 535, 1517, 'q', '8317', '7627', 'l', 'F', '9599', '4585', 'h', '3563', 'W', '7449', 'P', 'M', 'a', 8079]