EasyRating 800
Counting Faces
Shapes have faces: Tetrahedron 4, Cube 6, Octahedron 8, Dodecahedron 12, Icosahedron 20. Print the total number of faces.
Input
n, then n shape names.
Output
A total.
Sample 1
Input
4 Icosahedron Cube Tetrahedron Dodecahedron
Output
42
Sample 2
Input
1 Cube
Output
6
Output appears here