The ending is undecided, it depends on the plot. In the first type, the male lead and the second male lead are together.
In the second type, the male protagonist dies, and the second male lead takes the male protagonist's child with him for the rest of his life.
The third type, the male protagonist and the female protagonist, the second male and the third male, are together.