Second homework
rep 
imp