Fixed the print error. &d ->%d