In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'O', 6595, 4699, 'F', 'E', '3809', 'f', '4307', '5175', '1721', 'l', '3805', 'o', '4809', 'o', 997, 3099, 913, 2465, 'F', 'P', 8177], ['H', 'c', 4171, '3809', 'f', '4307', '5175', '1721', 'l', '3805', 'o', '4809', 'm', 9381]