(define s (read-line))

(print (if (equal? s "ham")
           "ham"
           (string-append s "ham")))