Problem Z: GESP 二 202312-编程1

Problem Z: GESP 二 202312-编程1

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

Sample Input Copy

1
2
10
5

Sample Output Copy

19