In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 'T', 'S', 'r', 'j', 9779, 7309, 'U', 'n', 1613, 3547, '7359', '4711', 't', 'g', '7797', '8953', '9019', 'C', 'S', '4637', '7921', 'L', 3097, 1629, 4985, 8101], ['T', 's', '7359', '4711', 't', 'g', '7797', '8953', '9019', 'C', 'S', '4637', '7921', 'y', 'n', 2165, 401, 'g', 9155, 'w']