KÅ fu is a capital city of the Yamanashi prefecture .
The capital is the city of KÅ fu .