cppOlimp/juravliki.cpp

13 lines
229 B
C++
Raw Normal View History

2022-02-07 22:33:05 +03:00
//acmp.ru 0092 juravliki.cpp 7%
#include <stdio.h>
#include <stdlib.h>
int main(){
freopen("INPUT.TXT", "r", stdin);
freopen("OUTPUT.TXT", "w", stdout);
int S, x;
scanf("%i", &S);
x = S/6;
printf("%i %i %i", x, x*4, x);
}