import io:*
import regex:*
fun main():int {
var reg = regex("ab")
println(reg.long_match("abab"))
println(reg.long_match("aab"))
return 0
}