まぐれ たりではありませんでした
magureataridewārimasendeshita

Noun
Desu Copula

The polite, past negative form of まぐれ当たり

1. Was not a whim/caprice.; Was not a lucky guess.

Past/Perfective
Negative
Polite
Formal Register