In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3641, 'E', 't', '7807', 'U', 'r', 'i', 593, 6563], ['M', 1231, 't', '7807', 'U', 'r', 'u', 'n', 4231]