#P1974. 基因聚合
基因聚合
Description
You are given cards, each with the number , and a machine.
You will perform the following operation times: put two cards into the machine and obtain a new card with the number , where are the numbers on the two cards you put in.
Question: After performing operations, what is the maximum possible number on the remaining card?
Input Format
One line containing a single positive integer ().
Output Format
One line containing a single positive integer representing the answer.
3
3
Hint
Translated by ChatGPT 5
京公网安备 11011102002149号