#include <stdio.h>
int main(){int x;for(x=5;x>0;x--)if(x--<5)printf("%d,",x);else printf("%d,",x++);return 0;}