In the forest, gnomes have built eight houses and created several paths
between them. Each path connects two houses, and paths can intersect.
Is it possible that the houses have the following number
of paths coming out of them:
(A) \(2, 2, 2, 4, 4, 4, 4, 4\) paths respectively;
(B) \(1, 2, 2, 2, 2, 3, 4, 5\) paths respectively?
Rūķīši mežā ir uzbūvējuši astoņas mājiņas un starp tām izveidojuši
vairākas taciņas. Katra taciņa savieno divas mājiņas,
taciņas var krustoties. Vai iespējams, ka no mājiņām iziet attiecīgi:
(A) \(2, 2, 2, 4, 4, 4, 4, 4\) taciņas;
(B) \(1,2,2,2,2,3,4,5\) taciņas?