{"code":"cppb1p213","name":"Cấp số tiếp theo","description":"Cho $3$ số $a, b, c$. Ba số đó tạo thành một cấp số cộng hoặc nhân. Hãy tìm số tiếp theo của dãy số đó.\r\n\r\n#### Input\r\n - Nhập vào ba số $a, b, c$ ($-10^{5} \\le a, b, c \\le 10^{5}$).\r\n\r\n#### Output\r\n - In ra đáp án.\r\n\r\n#### Example\r\n???+ question \"Test 1\"\r\n    ???+ \"Input\"\r\n        ``` sample\r\n        2 4 6\r\n        ```\r\n       \r\n    ???+ success \"Output\"\r\n        ``` sample\r\n        8\r\n        ```\r\n    \r\n???+ question \"Test 2\"\r\n    ???+ \"Input\"\r\n        ``` sample\r\n        2 4 8\r\n        ```\r\n        \r\n    ???+ success \"Output\"\r\n        ``` sample\r\n        16\r\n        ```","points":0.0,"partial":false,"time_limit":1.0,"memory_limit":131072,"short_circuit":false,"allowed_languages":[3,4,34,36,37,5,6,11,12,14,28,2,38,39,9,18,17,29,23,27,35,25,26,10,7,19,32,1,8,15,16,24,20,33,13,41,21,40],"is_public":true,"is_manually_managed":false,"permissions":{"can_edit":false}}