In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6167, 'v', '9433', '8121', 'm', 'D', 'G', '5809', 'U', 'Z', 6499, 6009, 'W', 3723, 'K', 'Y'], [565, 'T', '9433', '8121', 'm', 'D', 'G', '5809', 'U', 'h', 5047, 6637]