Computer Science, asked by paramkushampadma1980, 1 month ago

We have collection of Boxes, the boxes contains pens, penciles, newspapers and books.

If you are good at observation and work, then count the books.

where each Box has various Books placed in it. Each type of book is designated by a lowercase letter in the range ascii[a-z]. There may be multiple occurrences of a book in a box. Pick a book, if it occurs at least once in each of the boxes in our collection then count it.

Given a stacks/bundle of books placed in each of the boxes, display the number of types of books which are present in our collection .

Example: Array=[‘abc’,’abc’,’bc’] The books b and c appear in each box, so there are 2 type of books present in all boxes of our collection.

Input Format

The first line consists of an integer N, the size of Array. Each of the next N lines contains a string Array[i] where each letter represents an occurrence of a BOOK in the current box.

Constraints

1<=N<=100 1<=Array[i]<=100 Each composition Array[i] consists of all characters ('a'-'z')('A'-'Z')(0-9) and symbols.

Output Format

Display the count of books that appear in all boxes atleast once.

Sample Input 0

4
abcd
accbe
ecfa
dabce
Sample Output 0

2
Explanation 0

Books like 'a' and 'c' have appeared in all boxes. So count is 2.

Sample Input 1

4
AbC
ABDDc
abc
AbCd
Sample Output 1

3
Sample Input 2

2
AbC12*
ABDDc8?
Sample Output 2

3​

Answers

Answered by AnweshaTripathy
0

Answer:

sorry I can't understand your question

Answered by ujvalsingh377
0

Answer:

gghjjkkkkkjjgd kjfxcch

yes bigger than the intended recipient

tu thuthur you are not

Similar questions