m@main=do x<-readLn;putStrLn$unwords[show$x`div`10^y`mod`100|y<-[4,0,6,2]];m