In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1979, 'P', 'J', 'j', 'n', 3259, 'R', 'S', 'r', 5467, 4311, 'f', 'y', '2027', 'I', '6759', '5835', 'V', '6975', '1195', 'G', '5989', '5647', '2671', 'y', '6613', 'V', 'i', '1825', '5783', 'm', 'C', 239, 'a', 'r', 8431, 'D'], ['K', 2971, 9343, 's', 'H', '2027', 'I', '6759', '5835', 'V', '6975', '1195', 'G', '5989', '5647', '2671', 'y', '6613', 'V', 'i', '1825', '5783', 'G', 7223, 'd', 9281, 'l', 5067, 5405, 'N', 6249, 'O', 2017, 2773, 5413, 7375, 6207, 9385, 'A']