In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3563, 6167, 211, 2581, 9893, 'A', 'f', '5595', '5775', 'W', 'J', 'J', 'I', '9687', '5801', '1637', 'a', 'M', 'w', 'B', 'o', 'm', 8275], ['f', 8629, 'I', 'l', '5595', '5775', 'W', 'J', 'J', 'I', '9687', '5801', '1637', 'a', 'M', 'w', 'B', 'k', 'y', 'V']