import std.cstream;void main(){auto s=din.toString;for(int i=6,j=s.length;*s%2?j>6:ij?j-=2:i++];}