implicit none integer a integer b integer ans character(len=10) str read *, a, b, str ans = a + b print *, ans, str end