#include int main(void){ int n,d; scanf("%d",&n); d=n; for(int i=0;i