mirror of
https://github.com/tiennm99/codeforces.git
synced 2026-10-11 03:13:15 +00:00
20 lines
160 B
Go
20 lines
160 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func main() {
|
|
var a, b int
|
|
fmt.Scan(&a, &b)
|
|
|
|
years := 0
|
|
for a <= b {
|
|
a *= 3
|
|
b *= 2
|
|
years++
|
|
}
|
|
|
|
fmt.Println(years)
|
|
}
|