Sina decided to challenge Nima! He gave him a real number and a bag full of cards with exactly one number written on each card. There is an unlimited quantity of each type of card.
Nima's task is to pick the minimum number of cards in a way that the average of the numbers written on them equals exactly .
First and only line of input contains real number .
will have between and decimal places, inclusive .
First and only line of output should contain 5 nonnegative integers - numbers of the ones, twos, threes, fours and fives used, respectively. If there are multiple solutions, output any one of them.