http://acmp.ru/index.asp?main=task&id_task=92

1
2
3
var s = 6;
var x = s/6;
console.log(x, 2*s/3, x);