program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: a,b
    read*, a,b
    if (a+b >= 10) then
        print'(a)', 'error'
    else
        print'(i0)', a+b
    end if
    
end program main