Calculate the prefix#10052

Calculate the prefix (Discussion)