In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[675, 'N', '7605', 'W', 'J', 'E', '2099', 'I', 'i'], ['T', 8995, 'E', 'U', '7605', 'W', 'J', 'E', '2099', 'R', 3629, 977]