In English, you fail an exam. In Chinese, you can be placed outside a man.
The Chinese idiom is 名落孙山 (ming luo sun shan). Your name falls beyond Sun Shan. It is the polite way to say someone did not pass, and it is polite in a very particular way, because it does not mention failing at all. It mentions a person, and a position relative to that person.
Sun Shan was real. He took an exam once, came last among those who passed, and then went home and said one sentence that outlived him by nine hundred years.
The source is a small Song dynasty collection called Notes from Passing the Courtyard, by Fan Gongcheng, a great-grandson of the famous statesman Fan Zhongyan. The book records things he heard from officials and family. Most entries are a few dozen characters long.
This one is under fifty.

First, the exam.
The Song civil service system ran in stages. The first stage was the prefectural examination, held once every three years. Candidates who passed became juren, provincial graduates, and only they could go on to the capital for the imperial examination.
A single prefecture might have several thousand candidates and pass a few dozen.
The Song had the most advanced examination machinery in the world at the time. Answer sheets were sealed so the examiner could not see the name or the hometown. Then they were recopied by clerks so the examiner could not recognise the handwriting. It was a serious attempt to remove favouritism from the process, and it worked better than anything in Europe for centuries.
What it could not do was help the men below the line.
The results were posted on a wall at the prefectural school. The list ran from first place to last. First place had a title: jieyuan, the head of the release. Last place had nothing but a name.
Everybody read the list from the bottom up.
Reading from the top is what you do for other people. Reading from the bottom is what you do for yourself. First you check whether you are on it at all, then you count how far up you got.
Sun Shan was from Wu, the region around modern Suzhou.
The book describes him in five characters. A witty man of talent.
Witty is a poor translation. The Chinese word is huaji, and in the classical vocabulary it means something closer to quick in speech, able to say the difficult thing in a way that does not start a fight. Sima Qian devoted a whole chapter of the Records of the Grand Historian to men like this.
In a county town, such a man is welcome everywhere. When something awkward has to be said to somebody, he is the one asked to say it.
That year Sun Shan was travelling to another prefecture to sit the exam. A neighbour asked him to take his son along.
This was normal. A young man going away for the first time needed someone who knew how to register, where to stay, what to bring into the hall.
The two of them set out.
The journey is not recorded. Going by other Song accounts, it would have looked like this. A road, or a boat on the canal. One book chest, holding the classics, some model essays, a change of clothes, a little food. Cheap lodgings or a post station. Then registration: name, age, place of origin, the names of three generations of ancestors, submitted for checking before you were allowed in.
The examination itself lasted several days. You ate and slept inside.
Then you waited.
Song writers have left a lot about that wait. Not sleeping. Counting days. Asking anyone who might know. Watching the faces of other candidates.
The list went up.
Sun Shan pushed through to the wall and started at the bottom.
Last line, last name. Sun Shan.
He must have stood there for a moment. Then he started looking for the neighbour’s son.
Line by line, upward, all the way to first place.
The name was not there.
The book gives the result in two characters: disappointed. The neighbour’s son was disappointed.
Note the word choice. The writer does not say the man failed. He says he was disappointed. Before recording the fact, the book records the feeling.
By custom both men should have gone home. But a man who has failed does not want to go home.
Failed candidates usually stayed away for a while. Some waited in the prefectural city for the next round. Some found an academy and read for another year. Some simply refused to move, because going back meant walking past every person who knew them.
Sun Shan went back first.
He had not reached his own door before the father arrived.
The question was anxious and polite at the same time. How did my son do.
This is one of the hardest sentences in the world to answer.
Sun Shan did not say: he failed.
He said two lines of verse.
The roll of names ends at Sun Shan. Your honoured son is beyond Sun Shan.
The roll of names is the list. The end is the end.
In plain prose: the list runs down to me at the bottom, and your boy is past me.
Not one word of that is bad news. It says first: I am on the list, last. Then it says: your son is after me.
But what does after me mean. The list stops at Sun Shan. There is no name after Sun Shan. So beyond Sun Shan means off the list. It means nothing.
Two lines, two facts, delivered at once. I passed. Your son did not. And by the way, I passed by the width of a hair, and I was nearly off the list myself.
The couplet survived a thousand years.
Not because it is great poetry. Because it is useful.
Think about the father hearing it. If he had heard the plain version, his face would have collapsed on the spot, and by the next morning the village would have been saying his son could not even match Sun Shan.
What Sun Shan gave him was a step down, one stair at a time. Nothing in it was a lie. The truth was wrapped in three layers: first his own rank, then the comparison, and the bad news was left to surface on its own. The listener hears himself being discussed before he understands what is being said.
That is what huaji means. Not turning bad news into good news. Making bad news land without hitting anyone in the face.
There is another side to it, though.
The father probably understood. He may have smiled, said thank you for your trouble, and taken his son inside.
Sun Shan had done the errand well and badly at once. He had taken the boy out, come home without him, and left him behind in a strange city. That is not a kind thing to do.
Then he covered it with two lines.
A man in last place can only shield people from so much.
The name became a coordinate.
Since the Song, every failed candidate in China has been described as falling beyond Sun Shan. For a thousand years, an enormous number of people have lived inside those four characters. Most of them never knew that Sun Shan was a real man, a witty man from Wu, who sat one exam, came last, and then went home and passed on a message for a neighbour.
The message was meant for one person. Everybody heard it.
Fan Gongcheng wrote it down in a book of family anecdotes. The title means passing the courtyard, from the Confucius story about a son hurrying past his father in the yard. It is a book about lessons received at home.
Sun Shan is one of the shortest entries in it. Under fifty characters. It carried a millennium.
One more thing. After that exam, Sun Shan disappears from the record. Passing the prefectural stage only earned you the right to go to the capital and sit the imperial examination. Whether he passed that, whether he took office, whether he did anything at all, nobody wrote down.
An idiom preserved him. What it preserved was his least flattering moment.
He came last.
There is a Chinese proverb that every candidate in that hall knew by heart. Ten years at a cold window and nobody asks after you; one success and the whole world knows your name.
There is a Chinese fable about an iron pestle ground down into a needle, which is a story about persistence and says nothing at all about what to do when persistence fails.
Sun Shan knew both. He read the list from the bottom, the way everyone did, and he found himself at the end of it.
The most famous thing he ever did was come last.