In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8895, 7763, 5939, 9937, '9369', 'r', '8575', 'k', 't', '579', '5577', 'w', '5059', 'R', 't', '5307', '4185', '4565', 'O', '7941', '3397', '6773', 'Q', '4573', 'N', 'U', 5157, 'f'], [7751, 6377, 'U', 'l', 809, 5269, 'N', 'v', 'a', 'S', 1489, 'h', 8903, 6853, 't', 1917, 8347, 'r', '9369', 'r', '8575', 'k', 't', '579', '5577', 'w', '5059', 'R', 't', '5307', '4185', '4565', 'O', '7941', '3397', '6773', 'Q', '4573', 'X', 955, 5525, 'P', 9667, 5067, 'p', 9075, 6599, 959, 6669, 5799, 'q']