Josipu se na matematičkom kampu jako sviđala pjesma

pa ju je odlučio naučiti svirati na gitari. Sjeća se da su akordi u pjesmi

,

i

te da je pjesma niz od

akorda i da se svaki pojavljuje barem jednom. Kolika je vjerojatnost da Josip pogodi točan redoslijed akorda ako odsvira nasumičan niz koji zadovoljava ovakve uvjete?
Josip really liked the song

at math camp, so he decided to learn how to play it on the guitar. He remembers that the chords in the song are

,

, and

, and that the song is a sequence of

chords, with each chord appearing at least once. What is the probability that Josip will guess the exact order of the chords if he plays a random sequence that satisfies these conditions?
[lang=hr]
Josipu se na matematičkom kampu jako sviđala pjesma $\emph{Previše Suza U Mom Pivu}$ pa ju je odlučio naučiti svirati na gitari. Sjeća se da su akordi u pjesmi $G$, $C$ i $D$ te da je pjesma niz od $9$ akorda i da se svaki pojavljuje barem jednom. Kolika je vjerojatnost da Josip pogodi točan redoslijed akorda ako odsvira nasumičan niz koji zadovoljava ovakve uvjete?
[/lang]
[lang=en]
Josip really liked the song $\emph{Previše Suza U Mom Pivu}$ at math camp, so he decided to learn how to play it on the guitar. He remembers that the chords in the song are $G$, $C$, and $D$, and that the song is a sequence of $9$ chords, with each chord appearing at least once. What is the probability that Josip will guess the exact order of the chords if he plays a random sequence that satisfies these conditions?
[/lang]