package main import . "fmt" import . "math/bits" func main() { var n uint Scan(&n) if OnesCount(n)<2 { Println(-1,-1,-1) } else { x:=uint(1)<<(Len(n)-1) Println(n,x,x^n) } }