Help with combining 2 sketches together.

Well sorry for that. I meant to say is that, none of the sketches work. It just sits there when I input numbers it doesnt write it to serial or save them. And when I send the R command it doesnt print whatever was stores on the SD. Nothing works. The MC is on.