An ARN aminoacid is a sequence of nucleotides. Each nucleotid is formed by a combination of three nitrogenous bases (Adenine (A), Guanine (G), or Uracil (U)). Given a sequence of ARN aminoacids, we want to count how many nucleotides contain Guanine in each aminoacid. If one of the aminoacids contains the nucleotid GUA, the program should stop and print a warning.
Input
The input is a sequence of aminoacids. Each aminoacid is a sequence of nucleotids, ended with the stop nucleotid UAA.
Output
The output is the number of nucleotids containing Guanine (G) in each aminoacid. If the nucleotid GUA is found in some aminoacid, the process must stop and a warning printed. Follow the format of the examples.
Input
AGA GAU UGA UGA AAG UAA GGG UUU UUA UUG GUG GAG GAA UAA UGA UGA UAA GAU GAU AAU UAG UAA AAA UAU AUA UAA
Output
5 5 2 3 0
Input
AGA GAU UUA UGA AAG UAA GAG UUU UUA UUU GUG AGU AAU UAA AGU GAU AAU UAU UAA UGA UGA GUA AUA AUU UAA AGU GAU AAU UAU AAA UAU AUA UAA GAU AAU UAU AAA UAU UAA
Output
4 3 2 Suspicious genetic material detected