#gets stdin max
set max 100
for {set i 2} {$i<=$max} {incr i} {
	set str [string repeat "o" $i]
	if {[regexp {^(oo+?)(\1)*$} $str j k l]} {
		if {[string length $l] == 0} {
			puts -nonewline [format "%d\t" $i]
		}
	}
}
