The veterinary authority has reported an outbreak of a newly discovered cattle disease. Every affected cow has been euthanized to protect the industry. The cumulative numbers of affected cows after 8, 9, and 10 hours were 21, 34, and 55 respectively.
The counts follow the Fibonacci sequence. With a(1)=1, a(2)=1, and a(n)=a(n−1)+a(n−2) for every n≥3, write a program that computes the cumulative count a(X) for a given hour X.