#include<iostream> int main() { int n; scanf("%d",&n); printf("%d %d %d %d %d",2*n+17*n/32,n+9*n/32,n/2+5*n/32,n/4+3*n/32,3*n/16); return 0; }