途方 とほうでした
tohōdeshita

Noun
Desu Copula

The polite past form of 途方

1. Was at a loss.; Did not know what to do.

Past/Perfective
Polite