In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[973, 179, 9695, 'i', 3017, 2763, 'Z', 1395, 'f', 1671, '7337', 'G', '7113', 't', 'X', 'N', '9665', 'e', 'W', '7787', 'P', 'T', 'D', 'K', 2737, 'i', 3225, 4413, 9661, 8977, 'N'], ['a', 'N', 'T', '7337', 'G', '7113', 't', 'X', 'N', '9665', 'e', 'W', '7787', 'P', 'T', 'D', 'U', 4011, 3881, 'u', 'S']