U685477 Problem 8
题目背景
无
题目描述
```
ya A a putofu.
wenn phat yahu B re ya A.
ya khin yahu B re swom.
ya C a putofu.
wenn phat ton re ya C.
porr ton:
ya D toa ya E toa ya F a putofu.
ya mude com phat i toa ya F firear pros khin yahu B phat i re foari ya D toa ya E.
yahu B e putafu.
```
输入格式
无
输出格式
无
说明/提示
**【题解】**
```
porr ton:
ya mude com phat i toa ya F firear pros khin yahu B phat i re ya D.
ya mude dom phat i toa ya F firear pros khin yahu B phat i re ya E.
ya G re foari tho toa ya A.
porr ya G:
ya H re ya firear pros khin yahu B phat i re ya G.
ya mude com phat i toa ya H firear pros khin yahu B phat i re com phat ya G toa tho.
yahu B e putafu.
```
**【数据范围】**
$1 \le A \le 10^5, 1 \le C \le 10^5$。