#!/bin/python3

def split_and_join(line):
    res = line.split(" ")
    res = "-".join(res)

    return res

if __name__=='__main__':
    s = input()
    result = split_and_join(s)
    print(result)
    
#!/bin/python3

def split_and_join(line):
    res = line.split(" ")
    res = "-".join(res)

    return res

if __name__=='__main__':
    s = input()
    result = split_and_join(s)
    print(result)
    
#!/bin/python3