Electronic Piggy Bank A piggy bank is a container used to collect coins in. For this challenge use the four US coins: quarter, dime, nickel, and penny.

Challenge

Your challenge is to create an electronic piggy bank. Write a program (or function) that when run (or called), outputs (or returns) the count of each coin you have, as well as the total amount the coins amount to.

Input

A string, array, etc...(your choice) of the coins into your piggy bank(case insensitive).

 Q - Quarter(Value of 25)
 D - Dime(Value of 10)
 N - Nickel(Value of 5)
 P - Penny(Value of 1)


Output

The count of coins from the input and the total amount, separated by the non-integer delimiter of your choice. (The order in which you output the coin totals does not matter, but the total coin value(sum) must be the last element)

Examples

 Input          -&gt;       Output

 P              -&gt;       1,0,0,0,1 or 0,0,0,1,1 or 0,0,1,0,1 or 1,1
 N              -&gt;       0,1,0,0,5
 D              -&gt;       0,0,1,0,10 
 Q              -&gt;       0,0,0,1,25
 QQQQ           -&gt;       0,0,0,4,100
 QNDPQNDPQNDP   -&gt;       3,3,3,3,123
 PPPPPPPPPP     -&gt;       10,0,0,0,10
 PNNDNNQPDNPQND -&gt;       3,6,3,2,113


Rules

Standard loopholes are not allowed.

This is code-golf, so the shortest code in bytes for each language wins!
Python 2, 73 bytes

-3 bytes thanks to @Rod



C=map(input().count,'QDNP')
print C+[sum(map(int.__mul__,C,[25,10,5,1]))]


Try it online!