Equestria is a place full of friendship, magic, and mysteries. Thus, when Twilight Sparkle finds non-spherical black holes in the sky, she is curious rather than surprised.
Twilight Sparkle finds that each of the black holes is a convex regular polyhedron with
nnn faces (a convex polyhedron whose
nnn faces are identical regular polygons), and the length of its edges is
aaa.
Every day the black hole will shrink
exactly once. If a black hole shrinks, it will become the convex hull of
nnn geometry centers of the original black hole's
nnn faces. And whenever the black hole isn't a regular polyhedron, it will disappear forever.
Twilight Sparkle has made
TTT records for the black holes she has observed. Each of the records can be described as a tuple
(n,a,k)(n,a,k)(n,a,k), indicating that a convex regular polyhedron black hole with edges of length
aaa and
nnn faces initially has shrunk
kkk times. However, naughty Rainbow Dash replaced some of the records with impossible ones. Can you find out the impossible records and calculate the final
n′n'n′ and
a′a'a′ after
kkk times of shrinking for those possible records?