In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4911, 'g', '3861', '8779', 'U', '1879', '483', 'U', 'M', 5997, 'Y', 7023], ['J', 'K', 4631, 'y', 'K', 2085, '3861', '8779', 'U', '1879', '483', 'U', 'Q', 1199, 'q', 'u']