print$/=$",(<>*2<=><>)*4+4