In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'I', 'Z', '9329', 'i', '7475', '2367', 'w', '5443', '8353', '709', 'B', 'n', 'n', 'B', 9187], ['y', 'Z', 'c', 'u', 'r', 5447, 9267, 4113, '9329', 'i', '7475', '2367', 'w', '5443', '8353', '709', 'B', 'n', 'A', 'e', 9015, 'Q', 3713, 'B', 'B', 8179, 'K']