In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1817, 6157, 'f', 9203, 'U', 'i', 'j', 't', '4181', 'k', 'G', 'c', 'y', '8347', 'M', 'O', 8931, 7113, 8463, 'K', 'y', 5013], [9939, 57, 'A', 'u', 4907, 'y', 'm', 'j', 't', '4181', 'k', 'G', 'c', 'y', '8347', 'h', 'y', 'j', 335, 'Y', 'B', 1163]