In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9277, 'K', 'e', 'O', 'U', 5097, 'j', 'u', 7441, 'W', 'W', 6973, 'X', 2781, 'I', 3005, 'Z', 7371, 't', 4239, 595, 'm', 'V', 'C', '8849', '4767', 'd', '909', 'f', 'v', '8841', 'f', '6561', 'i', 'g', 'A', '1099', '831', 'g', 'c', 'Z', '1393', '3397', 'c', 'V', 'T', 'O', 'V', 'G', 'Q', 'm', 2819, 9797, 1427, 'q', 'g', 'y', 'e', 9389, 6275, 'v', 6143, 'f'], [2605, 'w', 'x', 8109, 4271, 4205, 'V', 4011, 107, 'y', 'm', 'V', 'C', '8849', '4767', 'd', '909', 'f', 'v', '8841', 'f', '6561', 'i', 'g', 'A', '1099', '831', 'g', 'c', 'Z', '1393', '3397', 'c', 'u', 6979, 'B', 7523, 7221, 9339, 'h', 'O', 3099, 'P', 'V', 'L', 9051, 843, 2127, 'S', 'n']