Write a program that reads a non-empty sequence of integer numbers, and tells how many of them are equal to the last one.
Input consists of a natural number , followed by integer numbers.
Print the number of elements that are equal to the last one, this one excluded.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T10:08:40.960Z
© Jutge.org, 2006–2026.
https://jutge.org