Mushrooms (Гриби)
In the fairy-tale city of Flower Town, there lived tiny people known as Shorties, each as tall as a cucumber. Among them, the most famous was a little boy named Dunno, who earned his name because he knew nothing. Dunno had a friend named Gunko, who lived on Daisy Street. Dunno could spend hours chatting with Gunko. They would argue twenty times a day and reconcile just as often. However, one day, they quarreled so fiercely that Gunko decided not to make up with Dunno and instead befriended two little girls, Mushka and Knopochka.
One day, the trio went mushroom picking. They used a saw to cut the mushrooms at the root, then sliced them into pieces and carried them home piece by piece. The two girls worked as a team: Mushka took the first and all odd-numbered mushrooms, while Knopochka took the second and all even-numbered ones. Gunko worked alone, collecting one and a half times fewer mushrooms than the girls combined. In total, they gathered N mushrooms. Write a program to determine how many mushrooms each of them collected.
Input
The program receives a natural number N, where N ≤ 2∙10^9
.
Output
The program should output three natural numbers separated by spaces, representing the number of mushrooms collected by Gunko, Mushka, and Knopochka, respectively.
Comments
In the second example, the girls collected an odd number of mushrooms—21—so Mushka ended up with more.