let input = readLine()!.characters.map{String($0)}
let (A, B, C, D) = (Int(input[0])!, Int(input[1])!, Int(input[2])!, Int(input[3])!)
if A+B+C+D == 7 {
    print("\(A)+\(B)+\(C)+\(D)=7")
} else if A+B+C-D == 7 {
    print("\(A)+\(B)+\(C)-\(D)=7")
} else if A+B-C+D == 7 {
    print("\(A)+\(B)-\(C)+\(D)=7")
} else if A+B-C-D == 7 {
    print("\(A)+\(B)-\(C)-\(D)=7")
} else if A-B+C+D == 7 {
    print("\(A)-\(B)+\(C)+\(D)=7")
} else if A-B+C-D == 7 {
    print("\(A)-\(B)+\(C)-\(D)=7")
} else if A-B-C+D == 7 {
    print("\(A)-\(B)-\(C)+\(D)=7")
} else if A-B-C-D == 7 {
    print("\(A)-\(B)-\(C)-\(D)=7")
}