In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3211, 167, 4931, 225, 'Y', 615, '6053', '1175', '2323', '4577', 'O', 'p', 'M', '4377', 'I', 'G', 'i', 'Y', 'z', 7931], ['R', 'p', '6053', '1175', '2323', '4577', 'O', 'p', 'M', '4377', 'T', 'h', 't']