In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7525, 9929, 2167, '9393', '2703', '1833', 'k', '8675', '8363', '2321', '9209', 'l', '3387', '5841', '1597', 'w', 'J', 987, 671, 'Y', 3415, 9871, 1431], ['A', 'd', 5153, 7383, 'P', 5147, 'a', 7271, 775, 'I', '9393', '2703', '1833', 'k', '8675', '8363', '2321', '9209', 'l', '3387', '5841', '1597', 'U', 5177, 2641, 'o', 589, 'M', 'V', 651]