White to play and win (medium)
 ← 
 → 
1.Kd6 { If it had been black to move he'd be forced to play h5 when white would win easily by first rounding up the h-pawn then returning the K to e6. So black must avoid the starting position unless it is white to move. } 1...Kf8 ( 1...Kg8 2.Ke7! h5 ( 2...Kg7 3.Ke6 ) 3.Kxf6 h4 4.Ke7 h3 5.f6 h2 6.f7+ Kg7 7.f8=Q+ ) 2.Kd7! h5 ( 2...Kg7 3.Ke6 ) 3.Ke6 h4 ( 3...Kg7 4.Kd5 ) 4.Kxf6 h3 5.g7+ Kg8 6.Kg6 h2 7.f6 h1=Q 8.f7# 1-0
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "1-0"]
[FEN "8/6k1/4KpPp/5P2/8/8/8/8 w - - 0 1"]
[SetUp "1"]

1.Kd6
{ If it had been black to move he'd be forced to play h5 when white would
win easily by first rounding up the h-pawn then returning the K to e6. So
black must avoid the starting position unless it is white to move. }
1...Kf8 ( 1...Kg8 2.Ke7 $1 h5 ( 2...Kg7 3.Ke6 ) 3.Kxf6 h4 4.Ke7 h3 5.f6 h2
6.f7+ Kg7 7.f8=Q+ ) 2.Kd7 $1 h5 ( 2...Kg7 3.Ke6 ) 3.Ke6 h4 ( 3...Kg7 4.Kd5 )
4.Kxf6 h3 5.g7+ Kg8 6.Kg6 h2 7.f6 h1=Q 8.f7# 1-0