programmer5000

Test cases

Apr 17th, 2017
322
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Input:
  2. Width: 1
  3. Graham: 1
  4. Chocolate: 1
  5. Marshmellow: 1
  6.  
  7. Output:
  8.  
  9. G
  10. C
  11. M
  12. G
  13.  
  14.  
  15.  
  16. Input:
  17. Width: 1
  18. Graham: 1
  19. Chocolate: 1
  20. Marshmellow: 2
  21.  
  22. Output:
  23.  
  24. G
  25. C
  26. M
  27. M
  28. G
  29.  
  30.  
  31.  
  32. Input:
  33. Width: 1
  34. Graham: 1
  35. Chocolate: 2
  36. Marshmellow: 1
  37.  
  38. Output:
  39.  
  40. G
  41. C
  42. C
  43. M
  44. G
  45.  
  46.  
  47.  
  48. Input:
  49. Width: 1
  50. Graham: 1
  51. Chocolate: 2
  52. Marshmellow: 2
  53.  
  54. Output:
  55.  
  56. G
  57. C
  58. C
  59. M
  60. M
  61. G
  62.  
  63.  
  64.  
  65. Input:
  66. Width: 1
  67. Graham: 1
  68. Chocolate: 3
  69. Marshmellow: 1
  70.  
  71. Output:
  72.  
  73. G
  74. C
  75. C
  76. C
  77. M
  78. G
  79.  
  80.  
  81.  
  82. Input:
  83. Width: 1
  84. Graham: 1
  85. Chocolate: 3
  86. Marshmellow: 2
  87.  
  88. Output:
  89.  
  90. G
  91. C
  92. C
  93. C
  94. M
  95. M
  96. G
  97.  
  98.  
  99.  
  100. Input:
  101. Width: 1
  102. Graham: 2
  103. Chocolate: 1
  104. Marshmellow: 1
  105.  
  106. Output:
  107.  
  108. G
  109. G
  110. C
  111. M
  112. G
  113. G
  114.  
  115.  
  116.  
  117. Input:
  118. Width: 1
  119. Graham: 2
  120. Chocolate: 1
  121. Marshmellow: 2
  122.  
  123. Output:
  124.  
  125. G
  126. G
  127. C
  128. M
  129. M
  130. G
  131. G
  132.  
  133.  
  134.  
  135. Input:
  136. Width: 1
  137. Graham: 2
  138. Chocolate: 2
  139. Marshmellow: 1
  140.  
  141. Output:
  142.  
  143. G
  144. G
  145. C
  146. C
  147. M
  148. G
  149. G
  150.  
  151.  
  152.  
  153. Input:
  154. Width: 1
  155. Graham: 2
  156. Chocolate: 2
  157. Marshmellow: 2
  158.  
  159. Output:
  160.  
  161. G
  162. G
  163. C
  164. C
  165. M
  166. M
  167. G
  168. G
  169.  
  170.  
  171.  
  172. Input:
  173. Width: 1
  174. Graham: 2
  175. Chocolate: 3
  176. Marshmellow: 1
  177.  
  178. Output:
  179.  
  180. G
  181. G
  182. C
  183. C
  184. C
  185. M
  186. G
  187. G
  188.  
  189.  
  190.  
  191. Input:
  192. Width: 1
  193. Graham: 2
  194. Chocolate: 3
  195. Marshmellow: 2
  196.  
  197. Output:
  198.  
  199. G
  200. G
  201. C
  202. C
  203. C
  204. M
  205. M
  206. G
  207. G
  208.  
  209.  
  210.  
  211. Input:
  212. Width: 1
  213. Graham: 3
  214. Chocolate: 1
  215. Marshmellow: 1
  216.  
  217. Output:
  218.  
  219. G
  220. G
  221. G
  222. C
  223. M
  224. G
  225. G
  226. G
  227.  
  228.  
  229.  
  230. Input:
  231. Width: 1
  232. Graham: 3
  233. Chocolate: 1
  234. Marshmellow: 2
  235.  
  236. Output:
  237.  
  238. G
  239. G
  240. G
  241. C
  242. M
  243. M
  244. G
  245. G
  246. G
  247.  
  248.  
  249.  
  250. Input:
  251. Width: 1
  252. Graham: 3
  253. Chocolate: 2
  254. Marshmellow: 1
  255.  
  256. Output:
  257.  
  258. G
  259. G
  260. G
  261. C
  262. C
  263. M
  264. G
  265. G
  266. G
  267.  
  268.  
  269.  
  270. Input:
  271. Width: 1
  272. Graham: 3
  273. Chocolate: 2
  274. Marshmellow: 2
  275.  
  276. Output:
  277.  
  278. G
  279. G
  280. G
  281. C
  282. C
  283. M
  284. M
  285. G
  286. G
  287. G
  288.  
  289.  
  290.  
  291. Input:
  292. Width: 1
  293. Graham: 3
  294. Chocolate: 3
  295. Marshmellow: 1
  296.  
  297. Output:
  298.  
  299. G
  300. G
  301. G
  302. C
  303. C
  304. C
  305. M
  306. G
  307. G
  308. G
  309.  
  310.  
  311.  
  312. Input:
  313. Width: 1
  314. Graham: 3
  315. Chocolate: 3
  316. Marshmellow: 2
  317.  
  318. Output:
  319.  
  320. G
  321. G
  322. G
  323. C
  324. C
  325. C
  326. M
  327. M
  328. G
  329. G
  330. G
  331.  
  332.  
  333.  
  334. Input:
  335. Width: 2
  336. Graham: 1
  337. Chocolate: 1
  338. Marshmellow: 1
  339.  
  340. Output:
  341.  
  342. GG
  343. CC
  344. MM
  345. GG
  346.  
  347.  
  348.  
  349. Input:
  350. Width: 2
  351. Graham: 1
  352. Chocolate: 1
  353. Marshmellow: 2
  354.  
  355. Output:
  356.  
  357. GG
  358. CC
  359. MM
  360. MM
  361. GG
  362.  
  363.  
  364.  
  365. Input:
  366. Width: 2
  367. Graham: 1
  368. Chocolate: 2
  369. Marshmellow: 1
  370.  
  371. Output:
  372.  
  373. GG
  374. CC
  375. CC
  376. MM
  377. GG
  378.  
  379.  
  380.  
  381. Input:
  382. Width: 2
  383. Graham: 1
  384. Chocolate: 2
  385. Marshmellow: 2
  386.  
  387. Output:
  388.  
  389. GG
  390. CC
  391. CC
  392. MM
  393. MM
  394. GG
  395.  
  396.  
  397.  
  398. Input:
  399. Width: 2
  400. Graham: 1
  401. Chocolate: 3
  402. Marshmellow: 1
  403.  
  404. Output:
  405.  
  406. GG
  407. CC
  408. CC
  409. CC
  410. MM
  411. GG
  412.  
  413.  
  414.  
  415. Input:
  416. Width: 2
  417. Graham: 1
  418. Chocolate: 3
  419. Marshmellow: 2
  420.  
  421. Output:
  422.  
  423. GG
  424. CC
  425. CC
  426. CC
  427. MM
  428. MM
  429. GG
  430.  
  431.  
  432.  
  433. Input:
  434. Width: 2
  435. Graham: 2
  436. Chocolate: 1
  437. Marshmellow: 1
  438.  
  439. Output:
  440.  
  441. GG
  442. GG
  443. CC
  444. MM
  445. GG
  446. GG
  447.  
  448.  
  449.  
  450. Input:
  451. Width: 2
  452. Graham: 2
  453. Chocolate: 1
  454. Marshmellow: 2
  455.  
  456. Output:
  457.  
  458. GG
  459. GG
  460. CC
  461. MM
  462. MM
  463. GG
  464. GG
  465.  
  466.  
  467.  
  468. Input:
  469. Width: 2
  470. Graham: 2
  471. Chocolate: 2
  472. Marshmellow: 1
  473.  
  474. Output:
  475.  
  476. GG
  477. GG
  478. CC
  479. CC
  480. MM
  481. GG
  482. GG
  483.  
  484.  
  485.  
  486. Input:
  487. Width: 2
  488. Graham: 2
  489. Chocolate: 2
  490. Marshmellow: 2
  491.  
  492. Output:
  493.  
  494. GG
  495. GG
  496. CC
  497. CC
  498. MM
  499. MM
  500. GG
  501. GG
  502.  
  503.  
  504.  
  505. Input:
  506. Width: 2
  507. Graham: 2
  508. Chocolate: 3
  509. Marshmellow: 1
  510.  
  511. Output:
  512.  
  513. GG
  514. GG
  515. CC
  516. CC
  517. CC
  518. MM
  519. GG
  520. GG
  521.  
  522.  
  523.  
  524. Input:
  525. Width: 2
  526. Graham: 2
  527. Chocolate: 3
  528. Marshmellow: 2
  529.  
  530. Output:
  531.  
  532. GG
  533. GG
  534. CC
  535. CC
  536. CC
  537. MM
  538. MM
  539. GG
  540. GG
  541.  
  542.  
  543.  
  544. Input:
  545. Width: 2
  546. Graham: 3
  547. Chocolate: 1
  548. Marshmellow: 1
  549.  
  550. Output:
  551.  
  552. GG
  553. GG
  554. GG
  555. CC
  556. MM
  557. GG
  558. GG
  559. GG
  560.  
  561.  
  562.  
  563. Input:
  564. Width: 2
  565. Graham: 3
  566. Chocolate: 1
  567. Marshmellow: 2
  568.  
  569. Output:
  570.  
  571. GG
  572. GG
  573. GG
  574. CC
  575. MM
  576. MM
  577. GG
  578. GG
  579. GG
  580.  
  581.  
  582.  
  583. Input:
  584. Width: 2
  585. Graham: 3
  586. Chocolate: 2
  587. Marshmellow: 1
  588.  
  589. Output:
  590.  
  591. GG
  592. GG
  593. GG
  594. CC
  595. CC
  596. MM
  597. GG
  598. GG
  599. GG
  600.  
  601.  
  602.  
  603. Input:
  604. Width: 2
  605. Graham: 3
  606. Chocolate: 2
  607. Marshmellow: 2
  608.  
  609. Output:
  610.  
  611. GG
  612. GG
  613. GG
  614. CC
  615. CC
  616. MM
  617. MM
  618. GG
  619. GG
  620. GG
  621.  
  622.  
  623.  
  624. Input:
  625. Width: 2
  626. Graham: 3
  627. Chocolate: 3
  628. Marshmellow: 1
  629.  
  630. Output:
  631.  
  632. GG
  633. GG
  634. GG
  635. CC
  636. CC
  637. CC
  638. MM
  639. GG
  640. GG
  641. GG
  642.  
  643.  
  644.  
  645. Input:
  646. Width: 2
  647. Graham: 3
  648. Chocolate: 3
  649. Marshmellow: 2
  650.  
  651. Output:
  652.  
  653. GG
  654. GG
  655. GG
  656. CC
  657. CC
  658. CC
  659. MM
  660. MM
  661. GG
  662. GG
  663. GG
  664.  
  665.  
  666.  
  667. Input:
  668. Width: 3
  669. Graham: 1
  670. Chocolate: 1
  671. Marshmellow: 1
  672.  
  673. Output:
  674.  
  675. GGG
  676. CCC
  677. MMM
  678. GGG
  679.  
  680.  
  681.  
  682. Input:
  683. Width: 3
  684. Graham: 1
  685. Chocolate: 1
  686. Marshmellow: 2
  687.  
  688. Output:
  689.  
  690. GGG
  691. CCC
  692. MMM
  693. MMM
  694. GGG
  695.  
  696.  
  697.  
  698. Input:
  699. Width: 3
  700. Graham: 1
  701. Chocolate: 2
  702. Marshmellow: 1
  703.  
  704. Output:
  705.  
  706. GGG
  707. CCC
  708. CCC
  709. MMM
  710. GGG
  711.  
  712.  
  713.  
  714. Input:
  715. Width: 3
  716. Graham: 1
  717. Chocolate: 2
  718. Marshmellow: 2
  719.  
  720. Output:
  721.  
  722. GGG
  723. CCC
  724. CCC
  725. MMM
  726. MMM
  727. GGG
  728.  
  729.  
  730.  
  731. Input:
  732. Width: 3
  733. Graham: 1
  734. Chocolate: 3
  735. Marshmellow: 1
  736.  
  737. Output:
  738.  
  739. GGG
  740. CCC
  741. CCC
  742. CCC
  743. MMM
  744. GGG
  745.  
  746.  
  747.  
  748. Input:
  749. Width: 3
  750. Graham: 1
  751. Chocolate: 3
  752. Marshmellow: 2
  753.  
  754. Output:
  755.  
  756. GGG
  757. CCC
  758. CCC
  759. CCC
  760. MMM
  761. MMM
  762. GGG
  763.  
  764.  
  765.  
  766. Input:
  767. Width: 3
  768. Graham: 2
  769. Chocolate: 1
  770. Marshmellow: 1
  771.  
  772. Output:
  773.  
  774. GGG
  775. GGG
  776. CCC
  777. MMM
  778. GGG
  779. GGG
  780.  
  781.  
  782.  
  783. Input:
  784. Width: 3
  785. Graham: 2
  786. Chocolate: 1
  787. Marshmellow: 2
  788.  
  789. Output:
  790.  
  791. GGG
  792. GGG
  793. CCC
  794. MMM
  795. MMM
  796. GGG
  797. GGG
  798.  
  799.  
  800.  
  801. Input:
  802. Width: 3
  803. Graham: 2
  804. Chocolate: 2
  805. Marshmellow: 1
  806.  
  807. Output:
  808.  
  809. GGG
  810. GGG
  811. CCC
  812. CCC
  813. MMM
  814. GGG
  815. GGG
  816.  
  817.  
  818.  
  819. Input:
  820. Width: 3
  821. Graham: 2
  822. Chocolate: 2
  823. Marshmellow: 2
  824.  
  825. Output:
  826.  
  827. GGG
  828. GGG
  829. CCC
  830. CCC
  831. MMM
  832. MMM
  833. GGG
  834. GGG
  835.  
  836.  
  837.  
  838. Input:
  839. Width: 3
  840. Graham: 2
  841. Chocolate: 3
  842. Marshmellow: 1
  843.  
  844. Output:
  845.  
  846. GGG
  847. GGG
  848. CCC
  849. CCC
  850. CCC
  851. MMM
  852. GGG
  853. GGG
  854.  
  855.  
  856.  
  857. Input:
  858. Width: 3
  859. Graham: 2
  860. Chocolate: 3
  861. Marshmellow: 2
  862.  
  863. Output:
  864.  
  865. GGG
  866. GGG
  867. CCC
  868. CCC
  869. CCC
  870. MMM
  871. MMM
  872. GGG
  873. GGG
  874.  
  875.  
  876.  
  877. Input:
  878. Width: 3
  879. Graham: 3
  880. Chocolate: 1
  881. Marshmellow: 1
  882.  
  883. Output:
  884.  
  885. GGG
  886. GGG
  887. GGG
  888. CCC
  889. MMM
  890. GGG
  891. GGG
  892. GGG
  893.  
  894.  
  895.  
  896. Input:
  897. Width: 3
  898. Graham: 3
  899. Chocolate: 1
  900. Marshmellow: 2
  901.  
  902. Output:
  903.  
  904. GGG
  905. GGG
  906. GGG
  907. CCC
  908. MMM
  909. MMM
  910. GGG
  911. GGG
  912. GGG
  913.  
  914.  
  915.  
  916. Input:
  917. Width: 3
  918. Graham: 3
  919. Chocolate: 2
  920. Marshmellow: 1
  921.  
  922. Output:
  923.  
  924. GGG
  925. GGG
  926. GGG
  927. CCC
  928. CCC
  929. MMM
  930. GGG
  931. GGG
  932. GGG
  933.  
  934.  
  935.  
  936. Input:
  937. Width: 3
  938. Graham: 3
  939. Chocolate: 2
  940. Marshmellow: 2
  941.  
  942. Output:
  943.  
  944. GGG
  945. GGG
  946. GGG
  947. CCC
  948. CCC
  949. MMM
  950. MMM
  951. GGG
  952. GGG
  953. GGG
  954.  
  955.  
  956.  
  957. Input:
  958. Width: 3
  959. Graham: 3
  960. Chocolate: 3
  961. Marshmellow: 1
  962.  
  963. Output:
  964.  
  965. GGG
  966. GGG
  967. GGG
  968. CCC
  969. CCC
  970. CCC
  971. MMM
  972. GGG
  973. GGG
  974. GGG
  975.  
  976.  
  977.  
  978. Input:
  979. Width: 3
  980. Graham: 3
  981. Chocolate: 3
  982. Marshmellow: 2
  983.  
  984. Output:
  985.  
  986. GGG
  987. GGG
  988. GGG
  989. CCC
  990. CCC
  991. CCC
  992. MMM
  993. MMM
  994. GGG
  995. GGG
  996. GGG
  997.  
  998.  
  999.  
  1000. Input:
  1001. Width: 4
  1002. Graham: 1
  1003. Chocolate: 1
  1004. Marshmellow: 1
  1005.  
  1006. Output:
  1007.  
  1008. GGGG
  1009. CCCC
  1010. MMMM
  1011. GGGG
  1012.  
  1013.  
  1014.  
  1015. Input:
  1016. Width: 4
  1017. Graham: 1
  1018. Chocolate: 1
  1019. Marshmellow: 2
  1020.  
  1021. Output:
  1022.  
  1023. GGGG
  1024. CCCC
  1025. MMMM
  1026. MMMM
  1027. GGGG
  1028.  
  1029.  
  1030.  
  1031. Input:
  1032. Width: 4
  1033. Graham: 1
  1034. Chocolate: 2
  1035. Marshmellow: 1
  1036.  
  1037. Output:
  1038.  
  1039. GGGG
  1040. CCCC
  1041. CCCC
  1042. MMMM
  1043. GGGG
  1044.  
  1045.  
  1046.  
  1047. Input:
  1048. Width: 4
  1049. Graham: 1
  1050. Chocolate: 2
  1051. Marshmellow: 2
  1052.  
  1053. Output:
  1054.  
  1055. GGGG
  1056. CCCC
  1057. CCCC
  1058. MMMM
  1059. MMMM
  1060. GGGG
  1061.  
  1062.  
  1063.  
  1064. Input:
  1065. Width: 4
  1066. Graham: 1
  1067. Chocolate: 3
  1068. Marshmellow: 1
  1069.  
  1070. Output:
  1071.  
  1072. GGGG
  1073. CCCC
  1074. CCCC
  1075. CCCC
  1076. MMMM
  1077. GGGG
  1078.  
  1079.  
  1080.  
  1081. Input:
  1082. Width: 4
  1083. Graham: 1
  1084. Chocolate: 3
  1085. Marshmellow: 2
  1086.  
  1087. Output:
  1088.  
  1089. GGGG
  1090. CCCC
  1091. CCCC
  1092. CCCC
  1093. MMMM
  1094. MMMM
  1095. GGGG
  1096.  
  1097.  
  1098.  
  1099. Input:
  1100. Width: 4
  1101. Graham: 2
  1102. Chocolate: 1
  1103. Marshmellow: 1
  1104.  
  1105. Output:
  1106.  
  1107. GGGG
  1108. GGGG
  1109. CCCC
  1110. MMMM
  1111. GGGG
  1112. GGGG
  1113.  
  1114.  
  1115.  
  1116. Input:
  1117. Width: 4
  1118. Graham: 2
  1119. Chocolate: 1
  1120. Marshmellow: 2
  1121.  
  1122. Output:
  1123.  
  1124. GGGG
  1125. GGGG
  1126. CCCC
  1127. MMMM
  1128. MMMM
  1129. GGGG
  1130. GGGG
  1131.  
  1132.  
  1133.  
  1134. Input:
  1135. Width: 4
  1136. Graham: 2
  1137. Chocolate: 2
  1138. Marshmellow: 1
  1139.  
  1140. Output:
  1141.  
  1142. GGGG
  1143. GGGG
  1144. CCCC
  1145. CCCC
  1146. MMMM
  1147. GGGG
  1148. GGGG
  1149.  
  1150.  
  1151.  
  1152. Input:
  1153. Width: 4
  1154. Graham: 2
  1155. Chocolate: 2
  1156. Marshmellow: 2
  1157.  
  1158. Output:
  1159.  
  1160. GGGG
  1161. GGGG
  1162. CCCC
  1163. CCCC
  1164. MMMM
  1165. MMMM
  1166. GGGG
  1167. GGGG
  1168.  
  1169.  
  1170.  
  1171. Input:
  1172. Width: 4
  1173. Graham: 2
  1174. Chocolate: 3
  1175. Marshmellow: 1
  1176.  
  1177. Output:
  1178.  
  1179. GGGG
  1180. GGGG
  1181. CCCC
  1182. CCCC
  1183. CCCC
  1184. MMMM
  1185. GGGG
  1186. GGGG
  1187.  
  1188.  
  1189.  
  1190. Input:
  1191. Width: 4
  1192. Graham: 2
  1193. Chocolate: 3
  1194. Marshmellow: 2
  1195.  
  1196. Output:
  1197.  
  1198. GGGG
  1199. GGGG
  1200. CCCC
  1201. CCCC
  1202. CCCC
  1203. MMMM
  1204. MMMM
  1205. GGGG
  1206. GGGG
  1207.  
  1208.  
  1209.  
  1210. Input:
  1211. Width: 4
  1212. Graham: 3
  1213. Chocolate: 1
  1214. Marshmellow: 1
  1215.  
  1216. Output:
  1217.  
  1218. GGGG
  1219. GGGG
  1220. GGGG
  1221. CCCC
  1222. MMMM
  1223. GGGG
  1224. GGGG
  1225. GGGG
  1226.  
  1227.  
  1228.  
  1229. Input:
  1230. Width: 4
  1231. Graham: 3
  1232. Chocolate: 1
  1233. Marshmellow: 2
  1234.  
  1235. Output:
  1236.  
  1237. GGGG
  1238. GGGG
  1239. GGGG
  1240. CCCC
  1241. MMMM
  1242. MMMM
  1243. GGGG
  1244. GGGG
  1245. GGGG
  1246.  
  1247.  
  1248.  
  1249. Input:
  1250. Width: 4
  1251. Graham: 3
  1252. Chocolate: 2
  1253. Marshmellow: 1
  1254.  
  1255. Output:
  1256.  
  1257. GGGG
  1258. GGGG
  1259. GGGG
  1260. CCCC
  1261. CCCC
  1262. MMMM
  1263. GGGG
  1264. GGGG
  1265. GGGG
  1266.  
  1267.  
  1268.  
  1269. Input:
  1270. Width: 4
  1271. Graham: 3
  1272. Chocolate: 2
  1273. Marshmellow: 2
  1274.  
  1275. Output:
  1276.  
  1277. GGGG
  1278. GGGG
  1279. GGGG
  1280. CCCC
  1281. CCCC
  1282. MMMM
  1283. MMMM
  1284. GGGG
  1285. GGGG
  1286. GGGG
  1287.  
  1288.  
  1289.  
  1290. Input:
  1291. Width: 4
  1292. Graham: 3
  1293. Chocolate: 3
  1294. Marshmellow: 1
  1295.  
  1296. Output:
  1297.  
  1298. GGGG
  1299. GGGG
  1300. GGGG
  1301. CCCC
  1302. CCCC
  1303. CCCC
  1304. MMMM
  1305. GGGG
  1306. GGGG
  1307. GGGG
  1308.  
  1309.  
  1310.  
  1311. Input:
  1312. Width: 4
  1313. Graham: 3
  1314. Chocolate: 3
  1315. Marshmellow: 2
  1316.  
  1317. Output:
  1318.  
  1319. GGGG
  1320. GGGG
  1321. GGGG
  1322. CCCC
  1323. CCCC
  1324. CCCC
  1325. MMMM
  1326. MMMM
  1327. GGGG
  1328. GGGG
  1329. GGGG
  1330.  
  1331.  
  1332.  
  1333. Input:
  1334. Width: 5
  1335. Graham: 1
  1336. Chocolate: 1
  1337. Marshmellow: 1
  1338.  
  1339. Output:
  1340.  
  1341. GGGGG
  1342. CCCCC
  1343. MMMMM
  1344. GGGGG
  1345.  
  1346.  
  1347.  
  1348. Input:
  1349. Width: 5
  1350. Graham: 1
  1351. Chocolate: 1
  1352. Marshmellow: 2
  1353.  
  1354. Output:
  1355.  
  1356. GGGGG
  1357. CCCCC
  1358. MMMMM
  1359. MMMMM
  1360. GGGGG
  1361.  
  1362.  
  1363.  
  1364. Input:
  1365. Width: 5
  1366. Graham: 1
  1367. Chocolate: 2
  1368. Marshmellow: 1
  1369.  
  1370. Output:
  1371.  
  1372. GGGGG
  1373. CCCCC
  1374. CCCCC
  1375. MMMMM
  1376. GGGGG
  1377.  
  1378.  
  1379.  
  1380. Input:
  1381. Width: 5
  1382. Graham: 1
  1383. Chocolate: 2
  1384. Marshmellow: 2
  1385.  
  1386. Output:
  1387.  
  1388. GGGGG
  1389. CCCCC
  1390. CCCCC
  1391. MMMMM
  1392. MMMMM
  1393. GGGGG
  1394.  
  1395.  
  1396.  
  1397. Input:
  1398. Width: 5
  1399. Graham: 1
  1400. Chocolate: 3
  1401. Marshmellow: 1
  1402.  
  1403. Output:
  1404.  
  1405. GGGGG
  1406. CCCCC
  1407. CCCCC
  1408. CCCCC
  1409. MMMMM
  1410. GGGGG
  1411.  
  1412.  
  1413.  
  1414. Input:
  1415. Width: 5
  1416. Graham: 1
  1417. Chocolate: 3
  1418. Marshmellow: 2
  1419.  
  1420. Output:
  1421.  
  1422. GGGGG
  1423. CCCCC
  1424. CCCCC
  1425. CCCCC
  1426. MMMMM
  1427. MMMMM
  1428. GGGGG
  1429.  
  1430.  
  1431.  
  1432. Input:
  1433. Width: 5
  1434. Graham: 2
  1435. Chocolate: 1
  1436. Marshmellow: 1
  1437.  
  1438. Output:
  1439.  
  1440. GGGGG
  1441. GGGGG
  1442. CCCCC
  1443. MMMMM
  1444. GGGGG
  1445. GGGGG
  1446.  
  1447.  
  1448.  
  1449. Input:
  1450. Width: 5
  1451. Graham: 2
  1452. Chocolate: 1
  1453. Marshmellow: 2
  1454.  
  1455. Output:
  1456.  
  1457. GGGGG
  1458. GGGGG
  1459. CCCCC
  1460. MMMMM
  1461. MMMMM
  1462. GGGGG
  1463. GGGGG
  1464.  
  1465.  
  1466.  
  1467. Input:
  1468. Width: 5
  1469. Graham: 2
  1470. Chocolate: 2
  1471. Marshmellow: 1
  1472.  
  1473. Output:
  1474.  
  1475. GGGGG
  1476. GGGGG
  1477. CCCCC
  1478. CCCCC
  1479. MMMMM
  1480. GGGGG
  1481. GGGGG
  1482.  
  1483.  
  1484.  
  1485. Input:
  1486. Width: 5
  1487. Graham: 2
  1488. Chocolate: 2
  1489. Marshmellow: 2
  1490.  
  1491. Output:
  1492.  
  1493. GGGGG
  1494. GGGGG
  1495. CCCCC
  1496. CCCCC
  1497. MMMMM
  1498. MMMMM
  1499. GGGGG
  1500. GGGGG
  1501.  
  1502.  
  1503.  
  1504. Input:
  1505. Width: 5
  1506. Graham: 2
  1507. Chocolate: 3
  1508. Marshmellow: 1
  1509.  
  1510. Output:
  1511.  
  1512. GGGGG
  1513. GGGGG
  1514. CCCCC
  1515. CCCCC
  1516. CCCCC
  1517. MMMMM
  1518. GGGGG
  1519. GGGGG
  1520.  
  1521.  
  1522.  
  1523. Input:
  1524. Width: 5
  1525. Graham: 2
  1526. Chocolate: 3
  1527. Marshmellow: 2
  1528.  
  1529. Output:
  1530.  
  1531. GGGGG
  1532. GGGGG
  1533. CCCCC
  1534. CCCCC
  1535. CCCCC
  1536. MMMMM
  1537. MMMMM
  1538. GGGGG
  1539. GGGGG
  1540.  
  1541.  
  1542.  
  1543. Input:
  1544. Width: 5
  1545. Graham: 3
  1546. Chocolate: 1
  1547. Marshmellow: 1
  1548.  
  1549. Output:
  1550.  
  1551. GGGGG
  1552. GGGGG
  1553. GGGGG
  1554. CCCCC
  1555. MMMMM
  1556. GGGGG
  1557. GGGGG
  1558. GGGGG
  1559.  
  1560.  
  1561.  
  1562. Input:
  1563. Width: 5
  1564. Graham: 3
  1565. Chocolate: 1
  1566. Marshmellow: 2
  1567.  
  1568. Output:
  1569.  
  1570. GGGGG
  1571. GGGGG
  1572. GGGGG
  1573. CCCCC
  1574. MMMMM
  1575. MMMMM
  1576. GGGGG
  1577. GGGGG
  1578. GGGGG
  1579.  
  1580.  
  1581.  
  1582. Input:
  1583. Width: 5
  1584. Graham: 3
  1585. Chocolate: 2
  1586. Marshmellow: 1
  1587.  
  1588. Output:
  1589.  
  1590. GGGGG
  1591. GGGGG
  1592. GGGGG
  1593. CCCCC
  1594. CCCCC
  1595. MMMMM
  1596. GGGGG
  1597. GGGGG
  1598. GGGGG
  1599.  
  1600.  
  1601.  
  1602. Input:
  1603. Width: 5
  1604. Graham: 3
  1605. Chocolate: 2
  1606. Marshmellow: 2
  1607.  
  1608. Output:
  1609.  
  1610. GGGGG
  1611. GGGGG
  1612. GGGGG
  1613. CCCCC
  1614. CCCCC
  1615. MMMMM
  1616. MMMMM
  1617. GGGGG
  1618. GGGGG
  1619. GGGGG
  1620.  
  1621.  
  1622.  
  1623. Input:
  1624. Width: 5
  1625. Graham: 3
  1626. Chocolate: 3
  1627. Marshmellow: 1
  1628.  
  1629. Output:
  1630.  
  1631. GGGGG
  1632. GGGGG
  1633. GGGGG
  1634. CCCCC
  1635. CCCCC
  1636. CCCCC
  1637. MMMMM
  1638. GGGGG
  1639. GGGGG
  1640. GGGGG
  1641.  
  1642.  
  1643.  
  1644. Input:
  1645. Width: 5
  1646. Graham: 3
  1647. Chocolate: 3
  1648. Marshmellow: 2
  1649.  
  1650. Output:
  1651.  
  1652. GGGGG
  1653. GGGGG
  1654. GGGGG
  1655. CCCCC
  1656. CCCCC
  1657. CCCCC
  1658. MMMMM
  1659. MMMMM
  1660. GGGGG
  1661. GGGGG
  1662. GGGGG
  1663.  
  1664.  
  1665.  
  1666. Input:
  1667. Width: 6
  1668. Graham: 1
  1669. Chocolate: 1
  1670. Marshmellow: 1
  1671.  
  1672. Output:
  1673.  
  1674. GGGGGG
  1675. CCCCCC
  1676. MMMMMM
  1677. GGGGGG
  1678.  
  1679.  
  1680.  
  1681. Input:
  1682. Width: 6
  1683. Graham: 1
  1684. Chocolate: 1
  1685. Marshmellow: 2
  1686.  
  1687. Output:
  1688.  
  1689. GGGGGG
  1690. CCCCCC
  1691. MMMMMM
  1692. MMMMMM
  1693. GGGGGG
  1694.  
  1695.  
  1696.  
  1697. Input:
  1698. Width: 6
  1699. Graham: 1
  1700. Chocolate: 2
  1701. Marshmellow: 1
  1702.  
  1703. Output:
  1704.  
  1705. GGGGGG
  1706. CCCCCC
  1707. CCCCCC
  1708. MMMMMM
  1709. GGGGGG
  1710.  
  1711.  
  1712.  
  1713. Input:
  1714. Width: 6
  1715. Graham: 1
  1716. Chocolate: 2
  1717. Marshmellow: 2
  1718.  
  1719. Output:
  1720.  
  1721. GGGGGG
  1722. CCCCCC
  1723. CCCCCC
  1724. MMMMMM
  1725. MMMMMM
  1726. GGGGGG
  1727.  
  1728.  
  1729.  
  1730. Input:
  1731. Width: 6
  1732. Graham: 1
  1733. Chocolate: 3
  1734. Marshmellow: 1
  1735.  
  1736. Output:
  1737.  
  1738. GGGGGG
  1739. CCCCCC
  1740. CCCCCC
  1741. CCCCCC
  1742. MMMMMM
  1743. GGGGGG
  1744.  
  1745.  
  1746.  
  1747. Input:
  1748. Width: 6
  1749. Graham: 1
  1750. Chocolate: 3
  1751. Marshmellow: 2
  1752.  
  1753. Output:
  1754.  
  1755. GGGGGG
  1756. CCCCCC
  1757. CCCCCC
  1758. CCCCCC
  1759. MMMMMM
  1760. MMMMMM
  1761. GGGGGG
  1762.  
  1763.  
  1764.  
  1765. Input:
  1766. Width: 6
  1767. Graham: 2
  1768. Chocolate: 1
  1769. Marshmellow: 1
  1770.  
  1771. Output:
  1772.  
  1773. GGGGGG
  1774. GGGGGG
  1775. CCCCCC
  1776. MMMMMM
  1777. GGGGGG
  1778. GGGGGG
  1779.  
  1780.  
  1781.  
  1782. Input:
  1783. Width: 6
  1784. Graham: 2
  1785. Chocolate: 1
  1786. Marshmellow: 2
  1787.  
  1788. Output:
  1789.  
  1790. GGGGGG
  1791. GGGGGG
  1792. CCCCCC
  1793. MMMMMM
  1794. MMMMMM
  1795. GGGGGG
  1796. GGGGGG
  1797.  
  1798.  
  1799.  
  1800. Input:
  1801. Width: 6
  1802. Graham: 2
  1803. Chocolate: 2
  1804. Marshmellow: 1
  1805.  
  1806. Output:
  1807.  
  1808. GGGGGG
  1809. GGGGGG
  1810. CCCCCC
  1811. CCCCCC
  1812. MMMMMM
  1813. GGGGGG
  1814. GGGGGG
  1815.  
  1816.  
  1817.  
  1818. Input:
  1819. Width: 6
  1820. Graham: 2
  1821. Chocolate: 2
  1822. Marshmellow: 2
  1823.  
  1824. Output:
  1825.  
  1826. GGGGGG
  1827. GGGGGG
  1828. CCCCCC
  1829. CCCCCC
  1830. MMMMMM
  1831. MMMMMM
  1832. GGGGGG
  1833. GGGGGG
  1834.  
  1835.  
  1836.  
  1837. Input:
  1838. Width: 6
  1839. Graham: 2
  1840. Chocolate: 3
  1841. Marshmellow: 1
  1842.  
  1843. Output:
  1844.  
  1845. GGGGGG
  1846. GGGGGG
  1847. CCCCCC
  1848. CCCCCC
  1849. CCCCCC
  1850. MMMMMM
  1851. GGGGGG
  1852. GGGGGG
  1853.  
  1854.  
  1855.  
  1856. Input:
  1857. Width: 6
  1858. Graham: 2
  1859. Chocolate: 3
  1860. Marshmellow: 2
  1861.  
  1862. Output:
  1863.  
  1864. GGGGGG
  1865. GGGGGG
  1866. CCCCCC
  1867. CCCCCC
  1868. CCCCCC
  1869. MMMMMM
  1870. MMMMMM
  1871. GGGGGG
  1872. GGGGGG
  1873.  
  1874.  
  1875.  
  1876. Input:
  1877. Width: 6
  1878. Graham: 3
  1879. Chocolate: 1
  1880. Marshmellow: 1
  1881.  
  1882. Output:
  1883.  
  1884. GGGGGG
  1885. GGGGGG
  1886. GGGGGG
  1887. CCCCCC
  1888. MMMMMM
  1889. GGGGGG
  1890. GGGGGG
  1891. GGGGGG
  1892.  
  1893.  
  1894.  
  1895. Input:
  1896. Width: 6
  1897. Graham: 3
  1898. Chocolate: 1
  1899. Marshmellow: 2
  1900.  
  1901. Output:
  1902.  
  1903. GGGGGG
  1904. GGGGGG
  1905. GGGGGG
  1906. CCCCCC
  1907. MMMMMM
  1908. MMMMMM
  1909. GGGGGG
  1910. GGGGGG
  1911. GGGGGG
  1912.  
  1913.  
  1914.  
  1915. Input:
  1916. Width: 6
  1917. Graham: 3
  1918. Chocolate: 2
  1919. Marshmellow: 1
  1920.  
  1921. Output:
  1922.  
  1923. GGGGGG
  1924. GGGGGG
  1925. GGGGGG
  1926. CCCCCC
  1927. CCCCCC
  1928. MMMMMM
  1929. GGGGGG
  1930. GGGGGG
  1931. GGGGGG
  1932.  
  1933.  
  1934.  
  1935. Input:
  1936. Width: 6
  1937. Graham: 3
  1938. Chocolate: 2
  1939. Marshmellow: 2
  1940.  
  1941. Output:
  1942.  
  1943. GGGGGG
  1944. GGGGGG
  1945. GGGGGG
  1946. CCCCCC
  1947. CCCCCC
  1948. MMMMMM
  1949. MMMMMM
  1950. GGGGGG
  1951. GGGGGG
  1952. GGGGGG
  1953.  
  1954.  
  1955.  
  1956. Input:
  1957. Width: 6
  1958. Graham: 3
  1959. Chocolate: 3
  1960. Marshmellow: 1
  1961.  
  1962. Output:
  1963.  
  1964. GGGGGG
  1965. GGGGGG
  1966. GGGGGG
  1967. CCCCCC
  1968. CCCCCC
  1969. CCCCCC
  1970. MMMMMM
  1971. GGGGGG
  1972. GGGGGG
  1973. GGGGGG
  1974.  
  1975.  
  1976.  
  1977. Input:
  1978. Width: 6
  1979. Graham: 3
  1980. Chocolate: 3
  1981. Marshmellow: 2
  1982.  
  1983. Output:
  1984.  
  1985. GGGGGG
  1986. GGGGGG
  1987. GGGGGG
  1988. CCCCCC
  1989. CCCCCC
  1990. CCCCCC
  1991. MMMMMM
  1992. MMMMMM
  1993. GGGGGG
  1994. GGGGGG
  1995. GGGGGG
  1996.  
  1997.  
  1998.  
  1999. Input:
  2000. Width: 7
  2001. Graham: 1
  2002. Chocolate: 1
  2003. Marshmellow: 1
  2004.  
  2005. Output:
  2006.  
  2007. GGGGGGG
  2008. CCCCCCC
  2009. MMMMMMM
  2010. GGGGGGG
  2011.  
  2012.  
  2013.  
  2014. Input:
  2015. Width: 7
  2016. Graham: 1
  2017. Chocolate: 1
  2018. Marshmellow: 2
  2019.  
  2020. Output:
  2021.  
  2022. GGGGGGG
  2023. CCCCCCC
  2024. MMMMMMM
  2025. MMMMMMM
  2026. GGGGGGG
  2027.  
  2028.  
  2029.  
  2030. Input:
  2031. Width: 7
  2032. Graham: 1
  2033. Chocolate: 2
  2034. Marshmellow: 1
  2035.  
  2036. Output:
  2037.  
  2038. GGGGGGG
  2039. CCCCCCC
  2040. CCCCCCC
  2041. MMMMMMM
  2042. GGGGGGG
  2043.  
  2044.  
  2045.  
  2046. Input:
  2047. Width: 7
  2048. Graham: 1
  2049. Chocolate: 2
  2050. Marshmellow: 2
  2051.  
  2052. Output:
  2053.  
  2054. GGGGGGG
  2055. CCCCCCC
  2056. CCCCCCC
  2057. MMMMMMM
  2058. MMMMMMM
  2059. GGGGGGG
  2060.  
  2061.  
  2062.  
  2063. Input:
  2064. Width: 7
  2065. Graham: 1
  2066. Chocolate: 3
  2067. Marshmellow: 1
  2068.  
  2069. Output:
  2070.  
  2071. GGGGGGG
  2072. CCCCCCC
  2073. CCCCCCC
  2074. CCCCCCC
  2075. MMMMMMM
  2076. GGGGGGG
  2077.  
  2078.  
  2079.  
  2080. Input:
  2081. Width: 7
  2082. Graham: 1
  2083. Chocolate: 3
  2084. Marshmellow: 2
  2085.  
  2086. Output:
  2087.  
  2088. GGGGGGG
  2089. CCCCCCC
  2090. CCCCCCC
  2091. CCCCCCC
  2092. MMMMMMM
  2093. MMMMMMM
  2094. GGGGGGG
  2095.  
  2096.  
  2097.  
  2098. Input:
  2099. Width: 7
  2100. Graham: 2
  2101. Chocolate: 1
  2102. Marshmellow: 1
  2103.  
  2104. Output:
  2105.  
  2106. GGGGGGG
  2107. GGGGGGG
  2108. CCCCCCC
  2109. MMMMMMM
  2110. GGGGGGG
  2111. GGGGGGG
  2112.  
  2113.  
  2114.  
  2115. Input:
  2116. Width: 7
  2117. Graham: 2
  2118. Chocolate: 1
  2119. Marshmellow: 2
  2120.  
  2121. Output:
  2122.  
  2123. GGGGGGG
  2124. GGGGGGG
  2125. CCCCCCC
  2126. MMMMMMM
  2127. MMMMMMM
  2128. GGGGGGG
  2129. GGGGGGG
  2130.  
  2131.  
  2132.  
  2133. Input:
  2134. Width: 7
  2135. Graham: 2
  2136. Chocolate: 2
  2137. Marshmellow: 1
  2138.  
  2139. Output:
  2140.  
  2141. GGGGGGG
  2142. GGGGGGG
  2143. CCCCCCC
  2144. CCCCCCC
  2145. MMMMMMM
  2146. GGGGGGG
  2147. GGGGGGG
  2148.  
  2149.  
  2150.  
  2151. Input:
  2152. Width: 7
  2153. Graham: 2
  2154. Chocolate: 2
  2155. Marshmellow: 2
  2156.  
  2157. Output:
  2158.  
  2159. GGGGGGG
  2160. GGGGGGG
  2161. CCCCCCC
  2162. CCCCCCC
  2163. MMMMMMM
  2164. MMMMMMM
  2165. GGGGGGG
  2166. GGGGGGG
  2167.  
  2168.  
  2169.  
  2170. Input:
  2171. Width: 7
  2172. Graham: 2
  2173. Chocolate: 3
  2174. Marshmellow: 1
  2175.  
  2176. Output:
  2177.  
  2178. GGGGGGG
  2179. GGGGGGG
  2180. CCCCCCC
  2181. CCCCCCC
  2182. CCCCCCC
  2183. MMMMMMM
  2184. GGGGGGG
  2185. GGGGGGG
  2186.  
  2187.  
  2188.  
  2189. Input:
  2190. Width: 7
  2191. Graham: 2
  2192. Chocolate: 3
  2193. Marshmellow: 2
  2194.  
  2195. Output:
  2196.  
  2197. GGGGGGG
  2198. GGGGGGG
  2199. CCCCCCC
  2200. CCCCCCC
  2201. CCCCCCC
  2202. MMMMMMM
  2203. MMMMMMM
  2204. GGGGGGG
  2205. GGGGGGG
  2206.  
  2207.  
  2208.  
  2209. Input:
  2210. Width: 7
  2211. Graham: 3
  2212. Chocolate: 1
  2213. Marshmellow: 1
  2214.  
  2215. Output:
  2216.  
  2217. GGGGGGG
  2218. GGGGGGG
  2219. GGGGGGG
  2220. CCCCCCC
  2221. MMMMMMM
  2222. GGGGGGG
  2223. GGGGGGG
  2224. GGGGGGG
  2225.  
  2226.  
  2227.  
  2228. Input:
  2229. Width: 7
  2230. Graham: 3
  2231. Chocolate: 1
  2232. Marshmellow: 2
  2233.  
  2234. Output:
  2235.  
  2236. GGGGGGG
  2237. GGGGGGG
  2238. GGGGGGG
  2239. CCCCCCC
  2240. MMMMMMM
  2241. MMMMMMM
  2242. GGGGGGG
  2243. GGGGGGG
  2244. GGGGGGG
  2245.  
  2246.  
  2247.  
  2248. Input:
  2249. Width: 7
  2250. Graham: 3
  2251. Chocolate: 2
  2252. Marshmellow: 1
  2253.  
  2254. Output:
  2255.  
  2256. GGGGGGG
  2257. GGGGGGG
  2258. GGGGGGG
  2259. CCCCCCC
  2260. CCCCCCC
  2261. MMMMMMM
  2262. GGGGGGG
  2263. GGGGGGG
  2264. GGGGGGG
  2265.  
  2266.  
  2267.  
  2268. Input:
  2269. Width: 7
  2270. Graham: 3
  2271. Chocolate: 2
  2272. Marshmellow: 2
  2273.  
  2274. Output:
  2275.  
  2276. GGGGGGG
  2277. GGGGGGG
  2278. GGGGGGG
  2279. CCCCCCC
  2280. CCCCCCC
  2281. MMMMMMM
  2282. MMMMMMM
  2283. GGGGGGG
  2284. GGGGGGG
  2285. GGGGGGG
  2286.  
  2287.  
  2288.  
  2289. Input:
  2290. Width: 7
  2291. Graham: 3
  2292. Chocolate: 3
  2293. Marshmellow: 1
  2294.  
  2295. Output:
  2296.  
  2297. GGGGGGG
  2298. GGGGGGG
  2299. GGGGGGG
  2300. CCCCCCC
  2301. CCCCCCC
  2302. CCCCCCC
  2303. MMMMMMM
  2304. GGGGGGG
  2305. GGGGGGG
  2306. GGGGGGG
  2307.  
  2308.  
  2309.  
  2310. Input:
  2311. Width: 7
  2312. Graham: 3
  2313. Chocolate: 3
  2314. Marshmellow: 2
  2315.  
  2316. Output:
  2317.  
  2318. GGGGGGG
  2319. GGGGGGG
  2320. GGGGGGG
  2321. CCCCCCC
  2322. CCCCCCC
  2323. CCCCCCC
  2324. MMMMMMM
  2325. MMMMMMM
  2326. GGGGGGG
  2327. GGGGGGG
  2328. GGGGGGG
  2329.  
  2330.  
  2331.  
  2332. Input:
  2333. Width: 8
  2334. Graham: 1
  2335. Chocolate: 1
  2336. Marshmellow: 1
  2337.  
  2338. Output:
  2339.  
  2340. GGGGGGGG
  2341. CCCCCCCC
  2342. MMMMMMMM
  2343. GGGGGGGG
  2344.  
  2345.  
  2346.  
  2347. Input:
  2348. Width: 8
  2349. Graham: 1
  2350. Chocolate: 1
  2351. Marshmellow: 2
  2352.  
  2353. Output:
  2354.  
  2355. GGGGGGGG
  2356. CCCCCCCC
  2357. MMMMMMMM
  2358. MMMMMMMM
  2359. GGGGGGGG
  2360.  
  2361.  
  2362.  
  2363. Input:
  2364. Width: 8
  2365. Graham: 1
  2366. Chocolate: 2
  2367. Marshmellow: 1
  2368.  
  2369. Output:
  2370.  
  2371. GGGGGGGG
  2372. CCCCCCCC
  2373. CCCCCCCC
  2374. MMMMMMMM
  2375. GGGGGGGG
  2376.  
  2377.  
  2378.  
  2379. Input:
  2380. Width: 8
  2381. Graham: 1
  2382. Chocolate: 2
  2383. Marshmellow: 2
  2384.  
  2385. Output:
  2386.  
  2387. GGGGGGGG
  2388. CCCCCCCC
  2389. CCCCCCCC
  2390. MMMMMMMM
  2391. MMMMMMMM
  2392. GGGGGGGG
  2393.  
  2394.  
  2395.  
  2396. Input:
  2397. Width: 8
  2398. Graham: 1
  2399. Chocolate: 3
  2400. Marshmellow: 1
  2401.  
  2402. Output:
  2403.  
  2404. GGGGGGGG
  2405. CCCCCCCC
  2406. CCCCCCCC
  2407. CCCCCCCC
  2408. MMMMMMMM
  2409. GGGGGGGG
  2410.  
  2411.  
  2412.  
  2413. Input:
  2414. Width: 8
  2415. Graham: 1
  2416. Chocolate: 3
  2417. Marshmellow: 2
  2418.  
  2419. Output:
  2420.  
  2421. GGGGGGGG
  2422. CCCCCCCC
  2423. CCCCCCCC
  2424. CCCCCCCC
  2425. MMMMMMMM
  2426. MMMMMMMM
  2427. GGGGGGGG
  2428.  
  2429.  
  2430.  
  2431. Input:
  2432. Width: 8
  2433. Graham: 2
  2434. Chocolate: 1
  2435. Marshmellow: 1
  2436.  
  2437. Output:
  2438.  
  2439. GGGGGGGG
  2440. GGGGGGGG
  2441. CCCCCCCC
  2442. MMMMMMMM
  2443. GGGGGGGG
  2444. GGGGGGGG
  2445.  
  2446.  
  2447.  
  2448. Input:
  2449. Width: 8
  2450. Graham: 2
  2451. Chocolate: 1
  2452. Marshmellow: 2
  2453.  
  2454. Output:
  2455.  
  2456. GGGGGGGG
  2457. GGGGGGGG
  2458. CCCCCCCC
  2459. MMMMMMMM
  2460. MMMMMMMM
  2461. GGGGGGGG
  2462. GGGGGGGG
  2463.  
  2464.  
  2465.  
  2466. Input:
  2467. Width: 8
  2468. Graham: 2
  2469. Chocolate: 2
  2470. Marshmellow: 1
  2471.  
  2472. Output:
  2473.  
  2474. GGGGGGGG
  2475. GGGGGGGG
  2476. CCCCCCCC
  2477. CCCCCCCC
  2478. MMMMMMMM
  2479. GGGGGGGG
  2480. GGGGGGGG
  2481.  
  2482.  
  2483.  
  2484. Input:
  2485. Width: 8
  2486. Graham: 2
  2487. Chocolate: 2
  2488. Marshmellow: 2
  2489.  
  2490. Output:
  2491.  
  2492. GGGGGGGG
  2493. GGGGGGGG
  2494. CCCCCCCC
  2495. CCCCCCCC
  2496. MMMMMMMM
  2497. MMMMMMMM
  2498. GGGGGGGG
  2499. GGGGGGGG
  2500.  
  2501.  
  2502.  
  2503. Input:
  2504. Width: 8
  2505. Graham: 2
  2506. Chocolate: 3
  2507. Marshmellow: 1
  2508.  
  2509. Output:
  2510.  
  2511. GGGGGGGG
  2512. GGGGGGGG
  2513. CCCCCCCC
  2514. CCCCCCCC
  2515. CCCCCCCC
  2516. MMMMMMMM
  2517. GGGGGGGG
  2518. GGGGGGGG
  2519.  
  2520.  
  2521.  
  2522. Input:
  2523. Width: 8
  2524. Graham: 2
  2525. Chocolate: 3
  2526. Marshmellow: 2
  2527.  
  2528. Output:
  2529.  
  2530. GGGGGGGG
  2531. GGGGGGGG
  2532. CCCCCCCC
  2533. CCCCCCCC
  2534. CCCCCCCC
  2535. MMMMMMMM
  2536. MMMMMMMM
  2537. GGGGGGGG
  2538. GGGGGGGG
  2539.  
  2540.  
  2541.  
  2542. Input:
  2543. Width: 8
  2544. Graham: 3
  2545. Chocolate: 1
  2546. Marshmellow: 1
  2547.  
  2548. Output:
  2549.  
  2550. GGGGGGGG
  2551. GGGGGGGG
  2552. GGGGGGGG
  2553. CCCCCCCC
  2554. MMMMMMMM
  2555. GGGGGGGG
  2556. GGGGGGGG
  2557. GGGGGGGG
  2558.  
  2559.  
  2560.  
  2561. Input:
  2562. Width: 8
  2563. Graham: 3
  2564. Chocolate: 1
  2565. Marshmellow: 2
  2566.  
  2567. Output:
  2568.  
  2569. GGGGGGGG
  2570. GGGGGGGG
  2571. GGGGGGGG
  2572. CCCCCCCC
  2573. MMMMMMMM
  2574. MMMMMMMM
  2575. GGGGGGGG
  2576. GGGGGGGG
  2577. GGGGGGGG
  2578.  
  2579.  
  2580.  
  2581. Input:
  2582. Width: 8
  2583. Graham: 3
  2584. Chocolate: 2
  2585. Marshmellow: 1
  2586.  
  2587. Output:
  2588.  
  2589. GGGGGGGG
  2590. GGGGGGGG
  2591. GGGGGGGG
  2592. CCCCCCCC
  2593. CCCCCCCC
  2594. MMMMMMMM
  2595. GGGGGGGG
  2596. GGGGGGGG
  2597. GGGGGGGG
  2598.  
  2599.  
  2600.  
  2601. Input:
  2602. Width: 8
  2603. Graham: 3
  2604. Chocolate: 2
  2605. Marshmellow: 2
  2606.  
  2607. Output:
  2608.  
  2609. GGGGGGGG
  2610. GGGGGGGG
  2611. GGGGGGGG
  2612. CCCCCCCC
  2613. CCCCCCCC
  2614. MMMMMMMM
  2615. MMMMMMMM
  2616. GGGGGGGG
  2617. GGGGGGGG
  2618. GGGGGGGG
  2619.  
  2620.  
  2621.  
  2622. Input:
  2623. Width: 8
  2624. Graham: 3
  2625. Chocolate: 3
  2626. Marshmellow: 1
  2627.  
  2628. Output:
  2629.  
  2630. GGGGGGGG
  2631. GGGGGGGG
  2632. GGGGGGGG
  2633. CCCCCCCC
  2634. CCCCCCCC
  2635. CCCCCCCC
  2636. MMMMMMMM
  2637. GGGGGGGG
  2638. GGGGGGGG
  2639. GGGGGGGG
  2640.  
  2641.  
  2642.  
  2643. Input:
  2644. Width: 8
  2645. Graham: 3
  2646. Chocolate: 3
  2647. Marshmellow: 2
  2648.  
  2649. Output:
  2650.  
  2651. GGGGGGGG
  2652. GGGGGGGG
  2653. GGGGGGGG
  2654. CCCCCCCC
  2655. CCCCCCCC
  2656. CCCCCCCC
  2657. MMMMMMMM
  2658. MMMMMMMM
  2659. GGGGGGGG
  2660. GGGGGGGG
  2661. GGGGGGGG
  2662.  
  2663.  
  2664.  
  2665. Input:
  2666. Width: 9
  2667. Graham: 1
  2668. Chocolate: 1
  2669. Marshmellow: 1
  2670.  
  2671. Output:
  2672.  
  2673. GGGGGGGGG
  2674. CCCCCCCCC
  2675. MMMMMMMMM
  2676. GGGGGGGGG
  2677.  
  2678.  
  2679.  
  2680. Input:
  2681. Width: 9
  2682. Graham: 1
  2683. Chocolate: 1
  2684. Marshmellow: 2
  2685.  
  2686. Output:
  2687.  
  2688. GGGGGGGGG
  2689. CCCCCCCCC
  2690. MMMMMMMMM
  2691. MMMMMMMMM
  2692. GGGGGGGGG
  2693.  
  2694.  
  2695.  
  2696. Input:
  2697. Width: 9
  2698. Graham: 1
  2699. Chocolate: 2
  2700. Marshmellow: 1
  2701.  
  2702. Output:
  2703.  
  2704. GGGGGGGGG
  2705. CCCCCCCCC
  2706. CCCCCCCCC
  2707. MMMMMMMMM
  2708. GGGGGGGGG
  2709.  
  2710.  
  2711.  
  2712. Input:
  2713. Width: 9
  2714. Graham: 1
  2715. Chocolate: 2
  2716. Marshmellow: 2
  2717.  
  2718. Output:
  2719.  
  2720. GGGGGGGGG
  2721. CCCCCCCCC
  2722. CCCCCCCCC
  2723. MMMMMMMMM
  2724. MMMMMMMMM
  2725. GGGGGGGGG
  2726.  
  2727.  
  2728.  
  2729. Input:
  2730. Width: 9
  2731. Graham: 1
  2732. Chocolate: 3
  2733. Marshmellow: 1
  2734.  
  2735. Output:
  2736.  
  2737. GGGGGGGGG
  2738. CCCCCCCCC
  2739. CCCCCCCCC
  2740. CCCCCCCCC
  2741. MMMMMMMMM
  2742. GGGGGGGGG
  2743.  
  2744.  
  2745.  
  2746. Input:
  2747. Width: 9
  2748. Graham: 1
  2749. Chocolate: 3
  2750. Marshmellow: 2
  2751.  
  2752. Output:
  2753.  
  2754. GGGGGGGGG
  2755. CCCCCCCCC
  2756. CCCCCCCCC
  2757. CCCCCCCCC
  2758. MMMMMMMMM
  2759. MMMMMMMMM
  2760. GGGGGGGGG
  2761.  
  2762.  
  2763.  
  2764. Input:
  2765. Width: 9
  2766. Graham: 2
  2767. Chocolate: 1
  2768. Marshmellow: 1
  2769.  
  2770. Output:
  2771.  
  2772. GGGGGGGGG
  2773. GGGGGGGGG
  2774. CCCCCCCCC
  2775. MMMMMMMMM
  2776. GGGGGGGGG
  2777. GGGGGGGGG
  2778.  
  2779.  
  2780.  
  2781. Input:
  2782. Width: 9
  2783. Graham: 2
  2784. Chocolate: 1
  2785. Marshmellow: 2
  2786.  
  2787. Output:
  2788.  
  2789. GGGGGGGGG
  2790. GGGGGGGGG
  2791. CCCCCCCCC
  2792. MMMMMMMMM
  2793. MMMMMMMMM
  2794. GGGGGGGGG
  2795. GGGGGGGGG
  2796.  
  2797.  
  2798.  
  2799. Input:
  2800. Width: 9
  2801. Graham: 2
  2802. Chocolate: 2
  2803. Marshmellow: 1
  2804.  
  2805. Output:
  2806.  
  2807. GGGGGGGGG
  2808. GGGGGGGGG
  2809. CCCCCCCCC
  2810. CCCCCCCCC
  2811. MMMMMMMMM
  2812. GGGGGGGGG
  2813. GGGGGGGGG
  2814.  
  2815.  
  2816.  
  2817. Input:
  2818. Width: 9
  2819. Graham: 2
  2820. Chocolate: 2
  2821. Marshmellow: 2
  2822.  
  2823. Output:
  2824.  
  2825. GGGGGGGGG
  2826. GGGGGGGGG
  2827. CCCCCCCCC
  2828. CCCCCCCCC
  2829. MMMMMMMMM
  2830. MMMMMMMMM
  2831. GGGGGGGGG
  2832. GGGGGGGGG
  2833.  
  2834.  
  2835.  
  2836. Input:
  2837. Width: 9
  2838. Graham: 2
  2839. Chocolate: 3
  2840. Marshmellow: 1
  2841.  
  2842. Output:
  2843.  
  2844. GGGGGGGGG
  2845. GGGGGGGGG
  2846. CCCCCCCCC
  2847. CCCCCCCCC
  2848. CCCCCCCCC
  2849. MMMMMMMMM
  2850. GGGGGGGGG
  2851. GGGGGGGGG
  2852.  
  2853.  
  2854.  
  2855. Input:
  2856. Width: 9
  2857. Graham: 2
  2858. Chocolate: 3
  2859. Marshmellow: 2
  2860.  
  2861. Output:
  2862.  
  2863. GGGGGGGGG
  2864. GGGGGGGGG
  2865. CCCCCCCCC
  2866. CCCCCCCCC
  2867. CCCCCCCCC
  2868. MMMMMMMMM
  2869. MMMMMMMMM
  2870. GGGGGGGGG
  2871. GGGGGGGGG
  2872.  
  2873.  
  2874.  
  2875. Input:
  2876. Width: 9
  2877. Graham: 3
  2878. Chocolate: 1
  2879. Marshmellow: 1
  2880.  
  2881. Output:
  2882.  
  2883. GGGGGGGGG
  2884. GGGGGGGGG
  2885. GGGGGGGGG
  2886. CCCCCCCCC
  2887. MMMMMMMMM
  2888. GGGGGGGGG
  2889. GGGGGGGGG
  2890. GGGGGGGGG
  2891.  
  2892.  
  2893.  
  2894. Input:
  2895. Width: 9
  2896. Graham: 3
  2897. Chocolate: 1
  2898. Marshmellow: 2
  2899.  
  2900. Output:
  2901.  
  2902. GGGGGGGGG
  2903. GGGGGGGGG
  2904. GGGGGGGGG
  2905. CCCCCCCCC
  2906. MMMMMMMMM
  2907. MMMMMMMMM
  2908. GGGGGGGGG
  2909. GGGGGGGGG
  2910. GGGGGGGGG
  2911.  
  2912.  
  2913.  
  2914. Input:
  2915. Width: 9
  2916. Graham: 3
  2917. Chocolate: 2
  2918. Marshmellow: 1
  2919.  
  2920. Output:
  2921.  
  2922. GGGGGGGGG
  2923. GGGGGGGGG
  2924. GGGGGGGGG
  2925. CCCCCCCCC
  2926. CCCCCCCCC
  2927. MMMMMMMMM
  2928. GGGGGGGGG
  2929. GGGGGGGGG
  2930. GGGGGGGGG
  2931.  
  2932.  
  2933.  
  2934. Input:
  2935. Width: 9
  2936. Graham: 3
  2937. Chocolate: 2
  2938. Marshmellow: 2
  2939.  
  2940. Output:
  2941.  
  2942. GGGGGGGGG
  2943. GGGGGGGGG
  2944. GGGGGGGGG
  2945. CCCCCCCCC
  2946. CCCCCCCCC
  2947. MMMMMMMMM
  2948. MMMMMMMMM
  2949. GGGGGGGGG
  2950. GGGGGGGGG
  2951. GGGGGGGGG
  2952.  
  2953.  
  2954.  
  2955. Input:
  2956. Width: 9
  2957. Graham: 3
  2958. Chocolate: 3
  2959. Marshmellow: 1
  2960.  
  2961. Output:
  2962.  
  2963. GGGGGGGGG
  2964. GGGGGGGGG
  2965. GGGGGGGGG
  2966. CCCCCCCCC
  2967. CCCCCCCCC
  2968. CCCCCCCCC
  2969. MMMMMMMMM
  2970. GGGGGGGGG
  2971. GGGGGGGGG
  2972. GGGGGGGGG
  2973.  
  2974.  
  2975.  
  2976. Input:
  2977. Width: 9
  2978. Graham: 3
  2979. Chocolate: 3
  2980. Marshmellow: 2
  2981.  
  2982. Output:
  2983.  
  2984. GGGGGGGGG
  2985. GGGGGGGGG
  2986. GGGGGGGGG
  2987. CCCCCCCCC
  2988. CCCCCCCCC
  2989. CCCCCCCCC
  2990. MMMMMMMMM
  2991. MMMMMMMMM
  2992. GGGGGGGGG
  2993. GGGGGGGGG
  2994. GGGGGGGGG
  2995.  
  2996.  
  2997.  
  2998. Input:
  2999. Width: 10
  3000. Graham: 1
  3001. Chocolate: 1
  3002. Marshmellow: 1
  3003.  
  3004. Output:
  3005.  
  3006. GGGGGGGGGG
  3007. CCCCCCCCCC
  3008. MMMMMMMMMM
  3009. GGGGGGGGGG
  3010.  
  3011.  
  3012.  
  3013. Input:
  3014. Width: 10
  3015. Graham: 1
  3016. Chocolate: 1
  3017. Marshmellow: 2
  3018.  
  3019. Output:
  3020.  
  3021. GGGGGGGGGG
  3022. CCCCCCCCCC
  3023. MMMMMMMMMM
  3024. MMMMMMMMMM
  3025. GGGGGGGGGG
  3026.  
  3027.  
  3028.  
  3029. Input:
  3030. Width: 10
  3031. Graham: 1
  3032. Chocolate: 2
  3033. Marshmellow: 1
  3034.  
  3035. Output:
  3036.  
  3037. GGGGGGGGGG
  3038. CCCCCCCCCC
  3039. CCCCCCCCCC
  3040. MMMMMMMMMM
  3041. GGGGGGGGGG
  3042.  
  3043.  
  3044.  
  3045. Input:
  3046. Width: 10
  3047. Graham: 1
  3048. Chocolate: 2
  3049. Marshmellow: 2
  3050.  
  3051. Output:
  3052.  
  3053. GGGGGGGGGG
  3054. CCCCCCCCCC
  3055. CCCCCCCCCC
  3056. MMMMMMMMMM
  3057. MMMMMMMMMM
  3058. GGGGGGGGGG
  3059.  
  3060.  
  3061.  
  3062. Input:
  3063. Width: 10
  3064. Graham: 1
  3065. Chocolate: 3
  3066. Marshmellow: 1
  3067.  
  3068. Output:
  3069.  
  3070. GGGGGGGGGG
  3071. CCCCCCCCCC
  3072. CCCCCCCCCC
  3073. CCCCCCCCCC
  3074. MMMMMMMMMM
  3075. GGGGGGGGGG
  3076.  
  3077.  
  3078.  
  3079. Input:
  3080. Width: 10
  3081. Graham: 1
  3082. Chocolate: 3
  3083. Marshmellow: 2
  3084.  
  3085. Output:
  3086.  
  3087. GGGGGGGGGG
  3088. CCCCCCCCCC
  3089. CCCCCCCCCC
  3090. CCCCCCCCCC
  3091. MMMMMMMMMM
  3092. MMMMMMMMMM
  3093. GGGGGGGGGG
  3094.  
  3095.  
  3096.  
  3097. Input:
  3098. Width: 10
  3099. Graham: 2
  3100. Chocolate: 1
  3101. Marshmellow: 1
  3102.  
  3103. Output:
  3104.  
  3105. GGGGGGGGGG
  3106. GGGGGGGGGG
  3107. CCCCCCCCCC
  3108. MMMMMMMMMM
  3109. GGGGGGGGGG
  3110. GGGGGGGGGG
  3111.  
  3112.  
  3113.  
  3114. Input:
  3115. Width: 10
  3116. Graham: 2
  3117. Chocolate: 1
  3118. Marshmellow: 2
  3119.  
  3120. Output:
  3121.  
  3122. GGGGGGGGGG
  3123. GGGGGGGGGG
  3124. CCCCCCCCCC
  3125. MMMMMMMMMM
  3126. MMMMMMMMMM
  3127. GGGGGGGGGG
  3128. GGGGGGGGGG
  3129.  
  3130.  
  3131.  
  3132. Input:
  3133. Width: 10
  3134. Graham: 2
  3135. Chocolate: 2
  3136. Marshmellow: 1
  3137.  
  3138. Output:
  3139.  
  3140. GGGGGGGGGG
  3141. GGGGGGGGGG
  3142. CCCCCCCCCC
  3143. CCCCCCCCCC
  3144. MMMMMMMMMM
  3145. GGGGGGGGGG
  3146. GGGGGGGGGG
  3147.  
  3148.  
  3149.  
  3150. Input:
  3151. Width: 10
  3152. Graham: 2
  3153. Chocolate: 2
  3154. Marshmellow: 2
  3155.  
  3156. Output:
  3157.  
  3158. GGGGGGGGGG
  3159. GGGGGGGGGG
  3160. CCCCCCCCCC
  3161. CCCCCCCCCC
  3162. MMMMMMMMMM
  3163. MMMMMMMMMM
  3164. GGGGGGGGGG
  3165. GGGGGGGGGG
  3166.  
  3167.  
  3168.  
  3169. Input:
  3170. Width: 10
  3171. Graham: 2
  3172. Chocolate: 3
  3173. Marshmellow: 1
  3174.  
  3175. Output:
  3176.  
  3177. GGGGGGGGGG
  3178. GGGGGGGGGG
  3179. CCCCCCCCCC
  3180. CCCCCCCCCC
  3181. CCCCCCCCCC
  3182. MMMMMMMMMM
  3183. GGGGGGGGGG
  3184. GGGGGGGGGG
  3185.  
  3186.  
  3187.  
  3188. Input:
  3189. Width: 10
  3190. Graham: 2
  3191. Chocolate: 3
  3192. Marshmellow: 2
  3193.  
  3194. Output:
  3195.  
  3196. GGGGGGGGGG
  3197. GGGGGGGGGG
  3198. CCCCCCCCCC
  3199. CCCCCCCCCC
  3200. CCCCCCCCCC
  3201. MMMMMMMMMM
  3202. MMMMMMMMMM
  3203. GGGGGGGGGG
  3204. GGGGGGGGGG
  3205.  
  3206.  
  3207.  
  3208. Input:
  3209. Width: 10
  3210. Graham: 3
  3211. Chocolate: 1
  3212. Marshmellow: 1
  3213.  
  3214. Output:
  3215.  
  3216. GGGGGGGGGG
  3217. GGGGGGGGGG
  3218. GGGGGGGGGG
  3219. CCCCCCCCCC
  3220. MMMMMMMMMM
  3221. GGGGGGGGGG
  3222. GGGGGGGGGG
  3223. GGGGGGGGGG
  3224.  
  3225.  
  3226.  
  3227. Input:
  3228. Width: 10
  3229. Graham: 3
  3230. Chocolate: 1
  3231. Marshmellow: 2
  3232.  
  3233. Output:
  3234.  
  3235. GGGGGGGGGG
  3236. GGGGGGGGGG
  3237. GGGGGGGGGG
  3238. CCCCCCCCCC
  3239. MMMMMMMMMM
  3240. MMMMMMMMMM
  3241. GGGGGGGGGG
  3242. GGGGGGGGGG
  3243. GGGGGGGGGG
  3244.  
  3245.  
  3246.  
  3247. Input:
  3248. Width: 10
  3249. Graham: 3
  3250. Chocolate: 2
  3251. Marshmellow: 1
  3252.  
  3253. Output:
  3254.  
  3255. GGGGGGGGGG
  3256. GGGGGGGGGG
  3257. GGGGGGGGGG
  3258. CCCCCCCCCC
  3259. CCCCCCCCCC
  3260. MMMMMMMMMM
  3261. GGGGGGGGGG
  3262. GGGGGGGGGG
  3263. GGGGGGGGGG
  3264.  
  3265.  
  3266.  
  3267. Input:
  3268. Width: 10
  3269. Graham: 3
  3270. Chocolate: 2
  3271. Marshmellow: 2
  3272.  
  3273. Output:
  3274.  
  3275. GGGGGGGGGG
  3276. GGGGGGGGGG
  3277. GGGGGGGGGG
  3278. CCCCCCCCCC
  3279. CCCCCCCCCC
  3280. MMMMMMMMMM
  3281. MMMMMMMMMM
  3282. GGGGGGGGGG
  3283. GGGGGGGGGG
  3284. GGGGGGGGGG
  3285.  
  3286.  
  3287.  
  3288. Input:
  3289. Width: 10
  3290. Graham: 3
  3291. Chocolate: 3
  3292. Marshmellow: 1
  3293.  
  3294. Output:
  3295.  
  3296. GGGGGGGGGG
  3297. GGGGGGGGGG
  3298. GGGGGGGGGG
  3299. CCCCCCCCCC
  3300. CCCCCCCCCC
  3301. CCCCCCCCCC
  3302. MMMMMMMMMM
  3303. GGGGGGGGGG
  3304. GGGGGGGGGG
  3305. GGGGGGGGGG
  3306.  
  3307.  
  3308.  
  3309. Input:
  3310. Width: 10
  3311. Graham: 3
  3312. Chocolate: 3
  3313. Marshmellow: 2
  3314.  
  3315. Output:
  3316.  
  3317. GGGGGGGGGG
  3318. GGGGGGGGGG
  3319. GGGGGGGGGG
  3320. CCCCCCCCCC
  3321. CCCCCCCCCC
  3322. CCCCCCCCCC
  3323. MMMMMMMMMM
  3324. MMMMMMMMMM
  3325. GGGGGGGGGG
  3326. GGGGGGGGGG
  3327. GGGGGGGGGG
  3328.  
  3329.  
  3330.  
  3331. Input:
  3332. Width: 11
  3333. Graham: 1
  3334. Chocolate: 1
  3335. Marshmellow: 1
  3336.  
  3337. Output:
  3338.  
  3339. GGGGGGGGGGG
  3340. CCCCCCCCCCC
  3341. MMMMMMMMMMM
  3342. GGGGGGGGGGG
  3343.  
  3344.  
  3345.  
  3346. Input:
  3347. Width: 11
  3348. Graham: 1
  3349. Chocolate: 1
  3350. Marshmellow: 2
  3351.  
  3352. Output:
  3353.  
  3354. GGGGGGGGGGG
  3355. CCCCCCCCCCC
  3356. MMMMMMMMMMM
  3357. MMMMMMMMMMM
  3358. GGGGGGGGGGG
  3359.  
  3360.  
  3361.  
  3362. Input:
  3363. Width: 11
  3364. Graham: 1
  3365. Chocolate: 2
  3366. Marshmellow: 1
  3367.  
  3368. Output:
  3369.  
  3370. GGGGGGGGGGG
  3371. CCCCCCCCCCC
  3372. CCCCCCCCCCC
  3373. MMMMMMMMMMM
  3374. GGGGGGGGGGG
  3375.  
  3376.  
  3377.  
  3378. Input:
  3379. Width: 11
  3380. Graham: 1
  3381. Chocolate: 2
  3382. Marshmellow: 2
  3383.  
  3384. Output:
  3385.  
  3386. GGGGGGGGGGG
  3387. CCCCCCCCCCC
  3388. CCCCCCCCCCC
  3389. MMMMMMMMMMM
  3390. MMMMMMMMMMM
  3391. GGGGGGGGGGG
  3392.  
  3393.  
  3394.  
  3395. Input:
  3396. Width: 11
  3397. Graham: 1
  3398. Chocolate: 3
  3399. Marshmellow: 1
  3400.  
  3401. Output:
  3402.  
  3403. GGGGGGGGGGG
  3404. CCCCCCCCCCC
  3405. CCCCCCCCCCC
  3406. CCCCCCCCCCC
  3407. MMMMMMMMMMM
  3408. GGGGGGGGGGG
  3409.  
  3410.  
  3411.  
  3412. Input:
  3413. Width: 11
  3414. Graham: 1
  3415. Chocolate: 3
  3416. Marshmellow: 2
  3417.  
  3418. Output:
  3419.  
  3420. GGGGGGGGGGG
  3421. CCCCCCCCCCC
  3422. CCCCCCCCCCC
  3423. CCCCCCCCCCC
  3424. MMMMMMMMMMM
  3425. MMMMMMMMMMM
  3426. GGGGGGGGGGG
  3427.  
  3428.  
  3429.  
  3430. Input:
  3431. Width: 11
  3432. Graham: 2
  3433. Chocolate: 1
  3434. Marshmellow: 1
  3435.  
  3436. Output:
  3437.  
  3438. GGGGGGGGGGG
  3439. GGGGGGGGGGG
  3440. CCCCCCCCCCC
  3441. MMMMMMMMMMM
  3442. GGGGGGGGGGG
  3443. GGGGGGGGGGG
  3444.  
  3445.  
  3446.  
  3447. Input:
  3448. Width: 11
  3449. Graham: 2
  3450. Chocolate: 1
  3451. Marshmellow: 2
  3452.  
  3453. Output:
  3454.  
  3455. GGGGGGGGGGG
  3456. GGGGGGGGGGG
  3457. CCCCCCCCCCC
  3458. MMMMMMMMMMM
  3459. MMMMMMMMMMM
  3460. GGGGGGGGGGG
  3461. GGGGGGGGGGG
  3462.  
  3463.  
  3464.  
  3465. Input:
  3466. Width: 11
  3467. Graham: 2
  3468. Chocolate: 2
  3469. Marshmellow: 1
  3470.  
  3471. Output:
  3472.  
  3473. GGGGGGGGGGG
  3474. GGGGGGGGGGG
  3475. CCCCCCCCCCC
  3476. CCCCCCCCCCC
  3477. MMMMMMMMMMM
  3478. GGGGGGGGGGG
  3479. GGGGGGGGGGG
  3480.  
  3481.  
  3482.  
  3483. Input:
  3484. Width: 11
  3485. Graham: 2
  3486. Chocolate: 2
  3487. Marshmellow: 2
  3488.  
  3489. Output:
  3490.  
  3491. GGGGGGGGGGG
  3492. GGGGGGGGGGG
  3493. CCCCCCCCCCC
  3494. CCCCCCCCCCC
  3495. MMMMMMMMMMM
  3496. MMMMMMMMMMM
  3497. GGGGGGGGGGG
  3498. GGGGGGGGGGG
  3499.  
  3500.  
  3501.  
  3502. Input:
  3503. Width: 11
  3504. Graham: 2
  3505. Chocolate: 3
  3506. Marshmellow: 1
  3507.  
  3508. Output:
  3509.  
  3510. GGGGGGGGGGG
  3511. GGGGGGGGGGG
  3512. CCCCCCCCCCC
  3513. CCCCCCCCCCC
  3514. CCCCCCCCCCC
  3515. MMMMMMMMMMM
  3516. GGGGGGGGGGG
  3517. GGGGGGGGGGG
  3518.  
  3519.  
  3520.  
  3521. Input:
  3522. Width: 11
  3523. Graham: 2
  3524. Chocolate: 3
  3525. Marshmellow: 2
  3526.  
  3527. Output:
  3528.  
  3529. GGGGGGGGGGG
  3530. GGGGGGGGGGG
  3531. CCCCCCCCCCC
  3532. CCCCCCCCCCC
  3533. CCCCCCCCCCC
  3534. MMMMMMMMMMM
  3535. MMMMMMMMMMM
  3536. GGGGGGGGGGG
  3537. GGGGGGGGGGG
  3538.  
  3539.  
  3540.  
  3541. Input:
  3542. Width: 11
  3543. Graham: 3
  3544. Chocolate: 1
  3545. Marshmellow: 1
  3546.  
  3547. Output:
  3548.  
  3549. GGGGGGGGGGG
  3550. GGGGGGGGGGG
  3551. GGGGGGGGGGG
  3552. CCCCCCCCCCC
  3553. MMMMMMMMMMM
  3554. GGGGGGGGGGG
  3555. GGGGGGGGGGG
  3556. GGGGGGGGGGG
  3557.  
  3558.  
  3559.  
  3560. Input:
  3561. Width: 11
  3562. Graham: 3
  3563. Chocolate: 1
  3564. Marshmellow: 2
  3565.  
  3566. Output:
  3567.  
  3568. GGGGGGGGGGG
  3569. GGGGGGGGGGG
  3570. GGGGGGGGGGG
  3571. CCCCCCCCCCC
  3572. MMMMMMMMMMM
  3573. MMMMMMMMMMM
  3574. GGGGGGGGGGG
  3575. GGGGGGGGGGG
  3576. GGGGGGGGGGG
  3577.  
  3578.  
  3579.  
  3580. Input:
  3581. Width: 11
  3582. Graham: 3
  3583. Chocolate: 2
  3584. Marshmellow: 1
  3585.  
  3586. Output:
  3587.  
  3588. GGGGGGGGGGG
  3589. GGGGGGGGGGG
  3590. GGGGGGGGGGG
  3591. CCCCCCCCCCC
  3592. CCCCCCCCCCC
  3593. MMMMMMMMMMM
  3594. GGGGGGGGGGG
  3595. GGGGGGGGGGG
  3596. GGGGGGGGGGG
  3597.  
  3598.  
  3599.  
  3600. Input:
  3601. Width: 11
  3602. Graham: 3
  3603. Chocolate: 2
  3604. Marshmellow: 2
  3605.  
  3606. Output:
  3607.  
  3608. GGGGGGGGGGG
  3609. GGGGGGGGGGG
  3610. GGGGGGGGGGG
  3611. CCCCCCCCCCC
  3612. CCCCCCCCCCC
  3613. MMMMMMMMMMM
  3614. MMMMMMMMMMM
  3615. GGGGGGGGGGG
  3616. GGGGGGGGGGG
  3617. GGGGGGGGGGG
  3618.  
  3619.  
  3620.  
  3621. Input:
  3622. Width: 11
  3623. Graham: 3
  3624. Chocolate: 3
  3625. Marshmellow: 1
  3626.  
  3627. Output:
  3628.  
  3629. GGGGGGGGGGG
  3630. GGGGGGGGGGG
  3631. GGGGGGGGGGG
  3632. CCCCCCCCCCC
  3633. CCCCCCCCCCC
  3634. CCCCCCCCCCC
  3635. MMMMMMMMMMM
  3636. GGGGGGGGGGG
  3637. GGGGGGGGGGG
  3638. GGGGGGGGGGG
  3639.  
  3640.  
  3641.  
  3642. Input:
  3643. Width: 11
  3644. Graham: 3
  3645. Chocolate: 3
  3646. Marshmellow: 2
  3647.  
  3648. Output:
  3649.  
  3650. GGGGGGGGGGG
  3651. GGGGGGGGGGG
  3652. GGGGGGGGGGG
  3653. CCCCCCCCCCC
  3654. CCCCCCCCCCC
  3655. CCCCCCCCCCC
  3656. MMMMMMMMMMM
  3657. MMMMMMMMMMM
  3658. GGGGGGGGGGG
  3659. GGGGGGGGGGG
  3660. GGGGGGGGGGG
  3661.  
  3662.  
  3663.  
  3664. Input:
  3665. Width: 12
  3666. Graham: 1
  3667. Chocolate: 1
  3668. Marshmellow: 1
  3669.  
  3670. Output:
  3671.  
  3672. GGGGGGGGGGGG
  3673. CCCCCCCCCCCC
  3674. MMMMMMMMMMMM
  3675. GGGGGGGGGGGG
  3676.  
  3677.  
  3678.  
  3679. Input:
  3680. Width: 12
  3681. Graham: 1
  3682. Chocolate: 1
  3683. Marshmellow: 2
  3684.  
  3685. Output:
  3686.  
  3687. GGGGGGGGGGGG
  3688. CCCCCCCCCCCC
  3689. MMMMMMMMMMMM
  3690. MMMMMMMMMMMM
  3691. GGGGGGGGGGGG
  3692.  
  3693.  
  3694.  
  3695. Input:
  3696. Width: 12
  3697. Graham: 1
  3698. Chocolate: 2
  3699. Marshmellow: 1
  3700.  
  3701. Output:
  3702.  
  3703. GGGGGGGGGGGG
  3704. CCCCCCCCCCCC
  3705. CCCCCCCCCCCC
  3706. MMMMMMMMMMMM
  3707. GGGGGGGGGGGG
  3708.  
  3709.  
  3710.  
  3711. Input:
  3712. Width: 12
  3713. Graham: 1
  3714. Chocolate: 2
  3715. Marshmellow: 2
  3716.  
  3717. Output:
  3718.  
  3719. GGGGGGGGGGGG
  3720. CCCCCCCCCCCC
  3721. CCCCCCCCCCCC
  3722. MMMMMMMMMMMM
  3723. MMMMMMMMMMMM
  3724. GGGGGGGGGGGG
  3725.  
  3726.  
  3727.  
  3728. Input:
  3729. Width: 12
  3730. Graham: 1
  3731. Chocolate: 3
  3732. Marshmellow: 1
  3733.  
  3734. Output:
  3735.  
  3736. GGGGGGGGGGGG
  3737. CCCCCCCCCCCC
  3738. CCCCCCCCCCCC
  3739. CCCCCCCCCCCC
  3740. MMMMMMMMMMMM
  3741. GGGGGGGGGGGG
  3742.  
  3743.  
  3744.  
  3745. Input:
  3746. Width: 12
  3747. Graham: 1
  3748. Chocolate: 3
  3749. Marshmellow: 2
  3750.  
  3751. Output:
  3752.  
  3753. GGGGGGGGGGGG
  3754. CCCCCCCCCCCC
  3755. CCCCCCCCCCCC
  3756. CCCCCCCCCCCC
  3757. MMMMMMMMMMMM
  3758. MMMMMMMMMMMM
  3759. GGGGGGGGGGGG
  3760.  
  3761.  
  3762.  
  3763. Input:
  3764. Width: 12
  3765. Graham: 2
  3766. Chocolate: 1
  3767. Marshmellow: 1
  3768.  
  3769. Output:
  3770.  
  3771. GGGGGGGGGGGG
  3772. GGGGGGGGGGGG
  3773. CCCCCCCCCCCC
  3774. MMMMMMMMMMMM
  3775. GGGGGGGGGGGG
  3776. GGGGGGGGGGGG
  3777.  
  3778.  
  3779.  
  3780. Input:
  3781. Width: 12
  3782. Graham: 2
  3783. Chocolate: 1
  3784. Marshmellow: 2
  3785.  
  3786. Output:
  3787.  
  3788. GGGGGGGGGGGG
  3789. GGGGGGGGGGGG
  3790. CCCCCCCCCCCC
  3791. MMMMMMMMMMMM
  3792. MMMMMMMMMMMM
  3793. GGGGGGGGGGGG
  3794. GGGGGGGGGGGG
  3795.  
  3796.  
  3797.  
  3798. Input:
  3799. Width: 12
  3800. Graham: 2
  3801. Chocolate: 2
  3802. Marshmellow: 1
  3803.  
  3804. Output:
  3805.  
  3806. GGGGGGGGGGGG
  3807. GGGGGGGGGGGG
  3808. CCCCCCCCCCCC
  3809. CCCCCCCCCCCC
  3810. MMMMMMMMMMMM
  3811. GGGGGGGGGGGG
  3812. GGGGGGGGGGGG
  3813.  
  3814.  
  3815.  
  3816. Input:
  3817. Width: 12
  3818. Graham: 2
  3819. Chocolate: 2
  3820. Marshmellow: 2
  3821.  
  3822. Output:
  3823.  
  3824. GGGGGGGGGGGG
  3825. GGGGGGGGGGGG
  3826. CCCCCCCCCCCC
  3827. CCCCCCCCCCCC
  3828. MMMMMMMMMMMM
  3829. MMMMMMMMMMMM
  3830. GGGGGGGGGGGG
  3831. GGGGGGGGGGGG
  3832.  
  3833.  
  3834.  
  3835. Input:
  3836. Width: 12
  3837. Graham: 2
  3838. Chocolate: 3
  3839. Marshmellow: 1
  3840.  
  3841. Output:
  3842.  
  3843. GGGGGGGGGGGG
  3844. GGGGGGGGGGGG
  3845. CCCCCCCCCCCC
  3846. CCCCCCCCCCCC
  3847. CCCCCCCCCCCC
  3848. MMMMMMMMMMMM
  3849. GGGGGGGGGGGG
  3850. GGGGGGGGGGGG
  3851.  
  3852.  
  3853.  
  3854. Input:
  3855. Width: 12
  3856. Graham: 2
  3857. Chocolate: 3
  3858. Marshmellow: 2
  3859.  
  3860. Output:
  3861.  
  3862. GGGGGGGGGGGG
  3863. GGGGGGGGGGGG
  3864. CCCCCCCCCCCC
  3865. CCCCCCCCCCCC
  3866. CCCCCCCCCCCC
  3867. MMMMMMMMMMMM
  3868. MMMMMMMMMMMM
  3869. GGGGGGGGGGGG
  3870. GGGGGGGGGGGG
  3871.  
  3872.  
  3873.  
  3874. Input:
  3875. Width: 12
  3876. Graham: 3
  3877. Chocolate: 1
  3878. Marshmellow: 1
  3879.  
  3880. Output:
  3881.  
  3882. GGGGGGGGGGGG
  3883. GGGGGGGGGGGG
  3884. GGGGGGGGGGGG
  3885. CCCCCCCCCCCC
  3886. MMMMMMMMMMMM
  3887. GGGGGGGGGGGG
  3888. GGGGGGGGGGGG
  3889. GGGGGGGGGGGG
  3890.  
  3891.  
  3892.  
  3893. Input:
  3894. Width: 12
  3895. Graham: 3
  3896. Chocolate: 1
  3897. Marshmellow: 2
  3898.  
  3899. Output:
  3900.  
  3901. GGGGGGGGGGGG
  3902. GGGGGGGGGGGG
  3903. GGGGGGGGGGGG
  3904. CCCCCCCCCCCC
  3905. MMMMMMMMMMMM
  3906. MMMMMMMMMMMM
  3907. GGGGGGGGGGGG
  3908. GGGGGGGGGGGG
  3909. GGGGGGGGGGGG
  3910.  
  3911.  
  3912.  
  3913. Input:
  3914. Width: 12
  3915. Graham: 3
  3916. Chocolate: 2
  3917. Marshmellow: 1
  3918.  
  3919. Output:
  3920.  
  3921. GGGGGGGGGGGG
  3922. GGGGGGGGGGGG
  3923. GGGGGGGGGGGG
  3924. CCCCCCCCCCCC
  3925. CCCCCCCCCCCC
  3926. MMMMMMMMMMMM
  3927. GGGGGGGGGGGG
  3928. GGGGGGGGGGGG
  3929. GGGGGGGGGGGG
  3930.  
  3931.  
  3932.  
  3933. Input:
  3934. Width: 12
  3935. Graham: 3
  3936. Chocolate: 2
  3937. Marshmellow: 2
  3938.  
  3939. Output:
  3940.  
  3941. GGGGGGGGGGGG
  3942. GGGGGGGGGGGG
  3943. GGGGGGGGGGGG
  3944. CCCCCCCCCCCC
  3945. CCCCCCCCCCCC
  3946. MMMMMMMMMMMM
  3947. MMMMMMMMMMMM
  3948. GGGGGGGGGGGG
  3949. GGGGGGGGGGGG
  3950. GGGGGGGGGGGG
  3951.  
  3952.  
  3953.  
  3954. Input:
  3955. Width: 12
  3956. Graham: 3
  3957. Chocolate: 3
  3958. Marshmellow: 1
  3959.  
  3960. Output:
  3961.  
  3962. GGGGGGGGGGGG
  3963. GGGGGGGGGGGG
  3964. GGGGGGGGGGGG
  3965. CCCCCCCCCCCC
  3966. CCCCCCCCCCCC
  3967. CCCCCCCCCCCC
  3968. MMMMMMMMMMMM
  3969. GGGGGGGGGGGG
  3970. GGGGGGGGGGGG
  3971. GGGGGGGGGGGG
  3972.  
  3973.  
  3974.  
  3975. Input:
  3976. Width: 12
  3977. Graham: 3
  3978. Chocolate: 3
  3979. Marshmellow: 2
  3980.  
  3981. Output:
  3982.  
  3983. GGGGGGGGGGGG
  3984. GGGGGGGGGGGG
  3985. GGGGGGGGGGGG
  3986. CCCCCCCCCCCC
  3987. CCCCCCCCCCCC
  3988. CCCCCCCCCCCC
  3989. MMMMMMMMMMMM
  3990. MMMMMMMMMMMM
  3991. GGGGGGGGGGGG
  3992. GGGGGGGGGGGG
  3993. GGGGGGGGGGGG
  3994.  
  3995.  
  3996.  
  3997. Input:
  3998. Width: 13
  3999. Graham: 1
  4000. Chocolate: 1
  4001. Marshmellow: 1
  4002.  
  4003. Output:
  4004.  
  4005. GGGGGGGGGGGGG
  4006. CCCCCCCCCCCCC
  4007. MMMMMMMMMMMMM
  4008. GGGGGGGGGGGGG
  4009.  
  4010.  
  4011.  
  4012. Input:
  4013. Width: 13
  4014. Graham: 1
  4015. Chocolate: 1
  4016. Marshmellow: 2
  4017.  
  4018. Output:
  4019.  
  4020. GGGGGGGGGGGGG
  4021. CCCCCCCCCCCCC
  4022. MMMMMMMMMMMMM
  4023. MMMMMMMMMMMMM
  4024. GGGGGGGGGGGGG
  4025.  
  4026.  
  4027.  
  4028. Input:
  4029. Width: 13
  4030. Graham: 1
  4031. Chocolate: 2
  4032. Marshmellow: 1
  4033.  
  4034. Output:
  4035.  
  4036. GGGGGGGGGGGGG
  4037. CCCCCCCCCCCCC
  4038. CCCCCCCCCCCCC
  4039. MMMMMMMMMMMMM
  4040. GGGGGGGGGGGGG
  4041.  
  4042.  
  4043.  
  4044. Input:
  4045. Width: 13
  4046. Graham: 1
  4047. Chocolate: 2
  4048. Marshmellow: 2
  4049.  
  4050. Output:
  4051.  
  4052. GGGGGGGGGGGGG
  4053. CCCCCCCCCCCCC
  4054. CCCCCCCCCCCCC
  4055. MMMMMMMMMMMMM
  4056. MMMMMMMMMMMMM
  4057. GGGGGGGGGGGGG
  4058.  
  4059.  
  4060.  
  4061. Input:
  4062. Width: 13
  4063. Graham: 1
  4064. Chocolate: 3
  4065. Marshmellow: 1
  4066.  
  4067. Output:
  4068.  
  4069. GGGGGGGGGGGGG
  4070. CCCCCCCCCCCCC
  4071. CCCCCCCCCCCCC
  4072. CCCCCCCCCCCCC
  4073. MMMMMMMMMMMMM
  4074. GGGGGGGGGGGGG
  4075.  
  4076.  
  4077.  
  4078. Input:
  4079. Width: 13
  4080. Graham: 1
  4081. Chocolate: 3
  4082. Marshmellow: 2
  4083.  
  4084. Output:
  4085.  
  4086. GGGGGGGGGGGGG
  4087. CCCCCCCCCCCCC
  4088. CCCCCCCCCCCCC
  4089. CCCCCCCCCCCCC
  4090. MMMMMMMMMMMMM
  4091. MMMMMMMMMMMMM
  4092. GGGGGGGGGGGGG
  4093.  
  4094.  
  4095.  
  4096. Input:
  4097. Width: 13
  4098. Graham: 2
  4099. Chocolate: 1
  4100. Marshmellow: 1
  4101.  
  4102. Output:
  4103.  
  4104. GGGGGGGGGGGGG
  4105. GGGGGGGGGGGGG
  4106. CCCCCCCCCCCCC
  4107. MMMMMMMMMMMMM
  4108. GGGGGGGGGGGGG
  4109. GGGGGGGGGGGGG
  4110.  
  4111.  
  4112.  
  4113. Input:
  4114. Width: 13
  4115. Graham: 2
  4116. Chocolate: 1
  4117. Marshmellow: 2
  4118.  
  4119. Output:
  4120.  
  4121. GGGGGGGGGGGGG
  4122. GGGGGGGGGGGGG
  4123. CCCCCCCCCCCCC
  4124. MMMMMMMMMMMMM
  4125. MMMMMMMMMMMMM
  4126. GGGGGGGGGGGGG
  4127. GGGGGGGGGGGGG
  4128.  
  4129.  
  4130.  
  4131. Input:
  4132. Width: 13
  4133. Graham: 2
  4134. Chocolate: 2
  4135. Marshmellow: 1
  4136.  
  4137. Output:
  4138.  
  4139. GGGGGGGGGGGGG
  4140. GGGGGGGGGGGGG
  4141. CCCCCCCCCCCCC
  4142. CCCCCCCCCCCCC
  4143. MMMMMMMMMMMMM
  4144. GGGGGGGGGGGGG
  4145. GGGGGGGGGGGGG
  4146.  
  4147.  
  4148.  
  4149. Input:
  4150. Width: 13
  4151. Graham: 2
  4152. Chocolate: 2
  4153. Marshmellow: 2
  4154.  
  4155. Output:
  4156.  
  4157. GGGGGGGGGGGGG
  4158. GGGGGGGGGGGGG
  4159. CCCCCCCCCCCCC
  4160. CCCCCCCCCCCCC
  4161. MMMMMMMMMMMMM
  4162. MMMMMMMMMMMMM
  4163. GGGGGGGGGGGGG
  4164. GGGGGGGGGGGGG
  4165.  
  4166.  
  4167.  
  4168. Input:
  4169. Width: 13
  4170. Graham: 2
  4171. Chocolate: 3
  4172. Marshmellow: 1
  4173.  
  4174. Output:
  4175.  
  4176. GGGGGGGGGGGGG
  4177. GGGGGGGGGGGGG
  4178. CCCCCCCCCCCCC
  4179. CCCCCCCCCCCCC
  4180. CCCCCCCCCCCCC
  4181. MMMMMMMMMMMMM
  4182. GGGGGGGGGGGGG
  4183. GGGGGGGGGGGGG
  4184.  
  4185.  
  4186.  
  4187. Input:
  4188. Width: 13
  4189. Graham: 2
  4190. Chocolate: 3
  4191. Marshmellow: 2
  4192.  
  4193. Output:
  4194.  
  4195. GGGGGGGGGGGGG
  4196. GGGGGGGGGGGGG
  4197. CCCCCCCCCCCCC
  4198. CCCCCCCCCCCCC
  4199. CCCCCCCCCCCCC
  4200. MMMMMMMMMMMMM
  4201. MMMMMMMMMMMMM
  4202. GGGGGGGGGGGGG
  4203. GGGGGGGGGGGGG
  4204.  
  4205.  
  4206.  
  4207. Input:
  4208. Width: 13
  4209. Graham: 3
  4210. Chocolate: 1
  4211. Marshmellow: 1
  4212.  
  4213. Output:
  4214.  
  4215. GGGGGGGGGGGGG
  4216. GGGGGGGGGGGGG
  4217. GGGGGGGGGGGGG
  4218. CCCCCCCCCCCCC
  4219. MMMMMMMMMMMMM
  4220. GGGGGGGGGGGGG
  4221. GGGGGGGGGGGGG
  4222. GGGGGGGGGGGGG
  4223.  
  4224.  
  4225.  
  4226. Input:
  4227. Width: 13
  4228. Graham: 3
  4229. Chocolate: 1
  4230. Marshmellow: 2
  4231.  
  4232. Output:
  4233.  
  4234. GGGGGGGGGGGGG
  4235. GGGGGGGGGGGGG
  4236. GGGGGGGGGGGGG
  4237. CCCCCCCCCCCCC
  4238. MMMMMMMMMMMMM
  4239. MMMMMMMMMMMMM
  4240. GGGGGGGGGGGGG
  4241. GGGGGGGGGGGGG
  4242. GGGGGGGGGGGGG
  4243.  
  4244.  
  4245.  
  4246. Input:
  4247. Width: 13
  4248. Graham: 3
  4249. Chocolate: 2
  4250. Marshmellow: 1
  4251.  
  4252. Output:
  4253.  
  4254. GGGGGGGGGGGGG
  4255. GGGGGGGGGGGGG
  4256. GGGGGGGGGGGGG
  4257. CCCCCCCCCCCCC
  4258. CCCCCCCCCCCCC
  4259. MMMMMMMMMMMMM
  4260. GGGGGGGGGGGGG
  4261. GGGGGGGGGGGGG
  4262. GGGGGGGGGGGGG
  4263.  
  4264.  
  4265.  
  4266. Input:
  4267. Width: 13
  4268. Graham: 3
  4269. Chocolate: 2
  4270. Marshmellow: 2
  4271.  
  4272. Output:
  4273.  
  4274. GGGGGGGGGGGGG
  4275. GGGGGGGGGGGGG
  4276. GGGGGGGGGGGGG
  4277. CCCCCCCCCCCCC
  4278. CCCCCCCCCCCCC
  4279. MMMMMMMMMMMMM
  4280. MMMMMMMMMMMMM
  4281. GGGGGGGGGGGGG
  4282. GGGGGGGGGGGGG
  4283. GGGGGGGGGGGGG
  4284.  
  4285.  
  4286.  
  4287. Input:
  4288. Width: 13
  4289. Graham: 3
  4290. Chocolate: 3
  4291. Marshmellow: 1
  4292.  
  4293. Output:
  4294.  
  4295. GGGGGGGGGGGGG
  4296. GGGGGGGGGGGGG
  4297. GGGGGGGGGGGGG
  4298. CCCCCCCCCCCCC
  4299. CCCCCCCCCCCCC
  4300. CCCCCCCCCCCCC
  4301. MMMMMMMMMMMMM
  4302. GGGGGGGGGGGGG
  4303. GGGGGGGGGGGGG
  4304. GGGGGGGGGGGGG
  4305.  
  4306.  
  4307.  
  4308. Input:
  4309. Width: 13
  4310. Graham: 3
  4311. Chocolate: 3
  4312. Marshmellow: 2
  4313.  
  4314. Output:
  4315.  
  4316. GGGGGGGGGGGGG
  4317. GGGGGGGGGGGGG
  4318. GGGGGGGGGGGGG
  4319. CCCCCCCCCCCCC
  4320. CCCCCCCCCCCCC
  4321. CCCCCCCCCCCCC
  4322. MMMMMMMMMMMMM
  4323. MMMMMMMMMMMMM
  4324. GGGGGGGGGGGGG
  4325. GGGGGGGGGGGGG
  4326. GGGGGGGGGGGGG
  4327.  
  4328.  
  4329.  
  4330. Input:
  4331. Width: 14
  4332. Graham: 1
  4333. Chocolate: 1
  4334. Marshmellow: 1
  4335.  
  4336. Output:
  4337.  
  4338. GGGGGGGGGGGGGG
  4339. CCCCCCCCCCCCCC
  4340. MMMMMMMMMMMMMM
  4341. GGGGGGGGGGGGGG
  4342.  
  4343.  
  4344.  
  4345. Input:
  4346. Width: 14
  4347. Graham: 1
  4348. Chocolate: 1
  4349. Marshmellow: 2
  4350.  
  4351. Output:
  4352.  
  4353. GGGGGGGGGGGGGG
  4354. CCCCCCCCCCCCCC
  4355. MMMMMMMMMMMMMM
  4356. MMMMMMMMMMMMMM
  4357. GGGGGGGGGGGGGG
  4358.  
  4359.  
  4360.  
  4361. Input:
  4362. Width: 14
  4363. Graham: 1
  4364. Chocolate: 2
  4365. Marshmellow: 1
  4366.  
  4367. Output:
  4368.  
  4369. GGGGGGGGGGGGGG
  4370. CCCCCCCCCCCCCC
  4371. CCCCCCCCCCCCCC
  4372. MMMMMMMMMMMMMM
  4373. GGGGGGGGGGGGGG
  4374.  
  4375.  
  4376.  
  4377. Input:
  4378. Width: 14
  4379. Graham: 1
  4380. Chocolate: 2
  4381. Marshmellow: 2
  4382.  
  4383. Output:
  4384.  
  4385. GGGGGGGGGGGGGG
  4386. CCCCCCCCCCCCCC
  4387. CCCCCCCCCCCCCC
  4388. MMMMMMMMMMMMMM
  4389. MMMMMMMMMMMMMM
  4390. GGGGGGGGGGGGGG
  4391.  
  4392.  
  4393.  
  4394. Input:
  4395. Width: 14
  4396. Graham: 1
  4397. Chocolate: 3
  4398. Marshmellow: 1
  4399.  
  4400. Output:
  4401.  
  4402. GGGGGGGGGGGGGG
  4403. CCCCCCCCCCCCCC
  4404. CCCCCCCCCCCCCC
  4405. CCCCCCCCCCCCCC
  4406. MMMMMMMMMMMMMM
  4407. GGGGGGGGGGGGGG
  4408.  
  4409.  
  4410.  
  4411. Input:
  4412. Width: 14
  4413. Graham: 1
  4414. Chocolate: 3
  4415. Marshmellow: 2
  4416.  
  4417. Output:
  4418.  
  4419. GGGGGGGGGGGGGG
  4420. CCCCCCCCCCCCCC
  4421. CCCCCCCCCCCCCC
  4422. CCCCCCCCCCCCCC
  4423. MMMMMMMMMMMMMM
  4424. MMMMMMMMMMMMMM
  4425. GGGGGGGGGGGGGG
  4426.  
  4427.  
  4428.  
  4429. Input:
  4430. Width: 14
  4431. Graham: 2
  4432. Chocolate: 1
  4433. Marshmellow: 1
  4434.  
  4435. Output:
  4436.  
  4437. GGGGGGGGGGGGGG
  4438. GGGGGGGGGGGGGG
  4439. CCCCCCCCCCCCCC
  4440. MMMMMMMMMMMMMM
  4441. GGGGGGGGGGGGGG
  4442. GGGGGGGGGGGGGG
  4443.  
  4444.  
  4445.  
  4446. Input:
  4447. Width: 14
  4448. Graham: 2
  4449. Chocolate: 1
  4450. Marshmellow: 2
  4451.  
  4452. Output:
  4453.  
  4454. GGGGGGGGGGGGGG
  4455. GGGGGGGGGGGGGG
  4456. CCCCCCCCCCCCCC
  4457. MMMMMMMMMMMMMM
  4458. MMMMMMMMMMMMMM
  4459. GGGGGGGGGGGGGG
  4460. GGGGGGGGGGGGGG
  4461.  
  4462.  
  4463.  
  4464. Input:
  4465. Width: 14
  4466. Graham: 2
  4467. Chocolate: 2
  4468. Marshmellow: 1
  4469.  
  4470. Output:
  4471.  
  4472. GGGGGGGGGGGGGG
  4473. GGGGGGGGGGGGGG
  4474. CCCCCCCCCCCCCC
  4475. CCCCCCCCCCCCCC
  4476. MMMMMMMMMMMMMM
  4477. GGGGGGGGGGGGGG
  4478. GGGGGGGGGGGGGG
  4479.  
  4480.  
  4481.  
  4482. Input:
  4483. Width: 14
  4484. Graham: 2
  4485. Chocolate: 2
  4486. Marshmellow: 2
  4487.  
  4488. Output:
  4489.  
  4490. GGGGGGGGGGGGGG
  4491. GGGGGGGGGGGGGG
  4492. CCCCCCCCCCCCCC
  4493. CCCCCCCCCCCCCC
  4494. MMMMMMMMMMMMMM
  4495. MMMMMMMMMMMMMM
  4496. GGGGGGGGGGGGGG
  4497. GGGGGGGGGGGGGG
  4498.  
  4499.  
  4500.  
  4501. Input:
  4502. Width: 14
  4503. Graham: 2
  4504. Chocolate: 3
  4505. Marshmellow: 1
  4506.  
  4507. Output:
  4508.  
  4509. GGGGGGGGGGGGGG
  4510. GGGGGGGGGGGGGG
  4511. CCCCCCCCCCCCCC
  4512. CCCCCCCCCCCCCC
  4513. CCCCCCCCCCCCCC
  4514. MMMMMMMMMMMMMM
  4515. GGGGGGGGGGGGGG
  4516. GGGGGGGGGGGGGG
  4517.  
  4518.  
  4519.  
  4520. Input:
  4521. Width: 14
  4522. Graham: 2
  4523. Chocolate: 3
  4524. Marshmellow: 2
  4525.  
  4526. Output:
  4527.  
  4528. GGGGGGGGGGGGGG
  4529. GGGGGGGGGGGGGG
  4530. CCCCCCCCCCCCCC
  4531. CCCCCCCCCCCCCC
  4532. CCCCCCCCCCCCCC
  4533. MMMMMMMMMMMMMM
  4534. MMMMMMMMMMMMMM
  4535. GGGGGGGGGGGGGG
  4536. GGGGGGGGGGGGGG
  4537.  
  4538.  
  4539.  
  4540. Input:
  4541. Width: 14
  4542. Graham: 3
  4543. Chocolate: 1
  4544. Marshmellow: 1
  4545.  
  4546. Output:
  4547.  
  4548. GGGGGGGGGGGGGG
  4549. GGGGGGGGGGGGGG
  4550. GGGGGGGGGGGGGG
  4551. CCCCCCCCCCCCCC
  4552. MMMMMMMMMMMMMM
  4553. GGGGGGGGGGGGGG
  4554. GGGGGGGGGGGGGG
  4555. GGGGGGGGGGGGGG
  4556.  
  4557.  
  4558.  
  4559. Input:
  4560. Width: 14
  4561. Graham: 3
  4562. Chocolate: 1
  4563. Marshmellow: 2
  4564.  
  4565. Output:
  4566.  
  4567. GGGGGGGGGGGGGG
  4568. GGGGGGGGGGGGGG
  4569. GGGGGGGGGGGGGG
  4570. CCCCCCCCCCCCCC
  4571. MMMMMMMMMMMMMM
  4572. MMMMMMMMMMMMMM
  4573. GGGGGGGGGGGGGG
  4574. GGGGGGGGGGGGGG
  4575. GGGGGGGGGGGGGG
  4576.  
  4577.  
  4578.  
  4579. Input:
  4580. Width: 14
  4581. Graham: 3
  4582. Chocolate: 2
  4583. Marshmellow: 1
  4584.  
  4585. Output:
  4586.  
  4587. GGGGGGGGGGGGGG
  4588. GGGGGGGGGGGGGG
  4589. GGGGGGGGGGGGGG
  4590. CCCCCCCCCCCCCC
  4591. CCCCCCCCCCCCCC
  4592. MMMMMMMMMMMMMM
  4593. GGGGGGGGGGGGGG
  4594. GGGGGGGGGGGGGG
  4595. GGGGGGGGGGGGGG
  4596.  
  4597.  
  4598.  
  4599. Input:
  4600. Width: 14
  4601. Graham: 3
  4602. Chocolate: 2
  4603. Marshmellow: 2
  4604.  
  4605. Output:
  4606.  
  4607. GGGGGGGGGGGGGG
  4608. GGGGGGGGGGGGGG
  4609. GGGGGGGGGGGGGG
  4610. CCCCCCCCCCCCCC
  4611. CCCCCCCCCCCCCC
  4612. MMMMMMMMMMMMMM
  4613. MMMMMMMMMMMMMM
  4614. GGGGGGGGGGGGGG
  4615. GGGGGGGGGGGGGG
  4616. GGGGGGGGGGGGGG
  4617.  
  4618.  
  4619.  
  4620. Input:
  4621. Width: 14
  4622. Graham: 3
  4623. Chocolate: 3
  4624. Marshmellow: 1
  4625.  
  4626. Output:
  4627.  
  4628. GGGGGGGGGGGGGG
  4629. GGGGGGGGGGGGGG
  4630. GGGGGGGGGGGGGG
  4631. CCCCCCCCCCCCCC
  4632. CCCCCCCCCCCCCC
  4633. CCCCCCCCCCCCCC
  4634. MMMMMMMMMMMMMM
  4635. GGGGGGGGGGGGGG
  4636. GGGGGGGGGGGGGG
  4637. GGGGGGGGGGGGGG
  4638.  
  4639.  
  4640.  
  4641. Input:
  4642. Width: 14
  4643. Graham: 3
  4644. Chocolate: 3
  4645. Marshmellow: 2
  4646.  
  4647. Output:
  4648.  
  4649. GGGGGGGGGGGGGG
  4650. GGGGGGGGGGGGGG
  4651. GGGGGGGGGGGGGG
  4652. CCCCCCCCCCCCCC
  4653. CCCCCCCCCCCCCC
  4654. CCCCCCCCCCCCCC
  4655. MMMMMMMMMMMMMM
  4656. MMMMMMMMMMMMMM
  4657. GGGGGGGGGGGGGG
  4658. GGGGGGGGGGGGGG
  4659. GGGGGGGGGGGGGG
  4660.  
  4661.  
  4662.  
  4663. Input:
  4664. Width: 15
  4665. Graham: 1
  4666. Chocolate: 1
  4667. Marshmellow: 1
  4668.  
  4669. Output:
  4670.  
  4671. GGGGGGGGGGGGGGG
  4672. CCCCCCCCCCCCCCC
  4673. MMMMMMMMMMMMMMM
  4674. GGGGGGGGGGGGGGG
  4675.  
  4676.  
  4677.  
  4678. Input:
  4679. Width: 15
  4680. Graham: 1
  4681. Chocolate: 1
  4682. Marshmellow: 2
  4683.  
  4684. Output:
  4685.  
  4686. GGGGGGGGGGGGGGG
  4687. CCCCCCCCCCCCCCC
  4688. MMMMMMMMMMMMMMM
  4689. MMMMMMMMMMMMMMM
  4690. GGGGGGGGGGGGGGG
  4691.  
  4692.  
  4693.  
  4694. Input:
  4695. Width: 15
  4696. Graham: 1
  4697. Chocolate: 2
  4698. Marshmellow: 1
  4699.  
  4700. Output:
  4701.  
  4702. GGGGGGGGGGGGGGG
  4703. CCCCCCCCCCCCCCC
  4704. CCCCCCCCCCCCCCC
  4705. MMMMMMMMMMMMMMM
  4706. GGGGGGGGGGGGGGG
  4707.  
  4708.  
  4709.  
  4710. Input:
  4711. Width: 15
  4712. Graham: 1
  4713. Chocolate: 2
  4714. Marshmellow: 2
  4715.  
  4716. Output:
  4717.  
  4718. GGGGGGGGGGGGGGG
  4719. CCCCCCCCCCCCCCC
  4720. CCCCCCCCCCCCCCC
  4721. MMMMMMMMMMMMMMM
  4722. MMMMMMMMMMMMMMM
  4723. GGGGGGGGGGGGGGG
  4724.  
  4725.  
  4726.  
  4727. Input:
  4728. Width: 15
  4729. Graham: 1
  4730. Chocolate: 3
  4731. Marshmellow: 1
  4732.  
  4733. Output:
  4734.  
  4735. GGGGGGGGGGGGGGG
  4736. CCCCCCCCCCCCCCC
  4737. CCCCCCCCCCCCCCC
  4738. CCCCCCCCCCCCCCC
  4739. MMMMMMMMMMMMMMM
  4740. GGGGGGGGGGGGGGG
  4741.  
  4742.  
  4743.  
  4744. Input:
  4745. Width: 15
  4746. Graham: 1
  4747. Chocolate: 3
  4748. Marshmellow: 2
  4749.  
  4750. Output:
  4751.  
  4752. GGGGGGGGGGGGGGG
  4753. CCCCCCCCCCCCCCC
  4754. CCCCCCCCCCCCCCC
  4755. CCCCCCCCCCCCCCC
  4756. MMMMMMMMMMMMMMM
  4757. MMMMMMMMMMMMMMM
  4758. GGGGGGGGGGGGGGG
  4759.  
  4760.  
  4761.  
  4762. Input:
  4763. Width: 15
  4764. Graham: 2
  4765. Chocolate: 1
  4766. Marshmellow: 1
  4767.  
  4768. Output:
  4769.  
  4770. GGGGGGGGGGGGGGG
  4771. GGGGGGGGGGGGGGG
  4772. CCCCCCCCCCCCCCC
  4773. MMMMMMMMMMMMMMM
  4774. GGGGGGGGGGGGGGG
  4775. GGGGGGGGGGGGGGG
  4776.  
  4777.  
  4778.  
  4779. Input:
  4780. Width: 15
  4781. Graham: 2
  4782. Chocolate: 1
  4783. Marshmellow: 2
  4784.  
  4785. Output:
  4786.  
  4787. GGGGGGGGGGGGGGG
  4788. GGGGGGGGGGGGGGG
  4789. CCCCCCCCCCCCCCC
  4790. MMMMMMMMMMMMMMM
  4791. MMMMMMMMMMMMMMM
  4792. GGGGGGGGGGGGGGG
  4793. GGGGGGGGGGGGGGG
  4794.  
  4795.  
  4796.  
  4797. Input:
  4798. Width: 15
  4799. Graham: 2
  4800. Chocolate: 2
  4801. Marshmellow: 1
  4802.  
  4803. Output:
  4804.  
  4805. GGGGGGGGGGGGGGG
  4806. GGGGGGGGGGGGGGG
  4807. CCCCCCCCCCCCCCC
  4808. CCCCCCCCCCCCCCC
  4809. MMMMMMMMMMMMMMM
  4810. GGGGGGGGGGGGGGG
  4811. GGGGGGGGGGGGGGG
  4812.  
  4813.  
  4814.  
  4815. Input:
  4816. Width: 15
  4817. Graham: 2
  4818. Chocolate: 2
  4819. Marshmellow: 2
  4820.  
  4821. Output:
  4822.  
  4823. GGGGGGGGGGGGGGG
  4824. GGGGGGGGGGGGGGG
  4825. CCCCCCCCCCCCCCC
  4826. CCCCCCCCCCCCCCC
  4827. MMMMMMMMMMMMMMM
  4828. MMMMMMMMMMMMMMM
  4829. GGGGGGGGGGGGGGG
  4830. GGGGGGGGGGGGGGG
  4831.  
  4832.  
  4833.  
  4834. Input:
  4835. Width: 15
  4836. Graham: 2
  4837. Chocolate: 3
  4838. Marshmellow: 1
  4839.  
  4840. Output:
  4841.  
  4842. GGGGGGGGGGGGGGG
  4843. GGGGGGGGGGGGGGG
  4844. CCCCCCCCCCCCCCC
  4845. CCCCCCCCCCCCCCC
  4846. CCCCCCCCCCCCCCC
  4847. MMMMMMMMMMMMMMM
  4848. GGGGGGGGGGGGGGG
  4849. GGGGGGGGGGGGGGG
  4850.  
  4851.  
  4852.  
  4853. Input:
  4854. Width: 15
  4855. Graham: 2
  4856. Chocolate: 3
  4857. Marshmellow: 2
  4858.  
  4859. Output:
  4860.  
  4861. GGGGGGGGGGGGGGG
  4862. GGGGGGGGGGGGGGG
  4863. CCCCCCCCCCCCCCC
  4864. CCCCCCCCCCCCCCC
  4865. CCCCCCCCCCCCCCC
  4866. MMMMMMMMMMMMMMM
  4867. MMMMMMMMMMMMMMM
  4868. GGGGGGGGGGGGGGG
  4869. GGGGGGGGGGGGGGG
  4870.  
  4871.  
  4872.  
  4873. Input:
  4874. Width: 15
  4875. Graham: 3
  4876. Chocolate: 1
  4877. Marshmellow: 1
  4878.  
  4879. Output:
  4880.  
  4881. GGGGGGGGGGGGGGG
  4882. GGGGGGGGGGGGGGG
  4883. GGGGGGGGGGGGGGG
  4884. CCCCCCCCCCCCCCC
  4885. MMMMMMMMMMMMMMM
  4886. GGGGGGGGGGGGGGG
  4887. GGGGGGGGGGGGGGG
  4888. GGGGGGGGGGGGGGG
  4889.  
  4890.  
  4891.  
  4892. Input:
  4893. Width: 15
  4894. Graham: 3
  4895. Chocolate: 1
  4896. Marshmellow: 2
  4897.  
  4898. Output:
  4899.  
  4900. GGGGGGGGGGGGGGG
  4901. GGGGGGGGGGGGGGG
  4902. GGGGGGGGGGGGGGG
  4903. CCCCCCCCCCCCCCC
  4904. MMMMMMMMMMMMMMM
  4905. MMMMMMMMMMMMMMM
  4906. GGGGGGGGGGGGGGG
  4907. GGGGGGGGGGGGGGG
  4908. GGGGGGGGGGGGGGG
  4909.  
  4910.  
  4911.  
  4912. Input:
  4913. Width: 15
  4914. Graham: 3
  4915. Chocolate: 2
  4916. Marshmellow: 1
  4917.  
  4918. Output:
  4919.  
  4920. GGGGGGGGGGGGGGG
  4921. GGGGGGGGGGGGGGG
  4922. GGGGGGGGGGGGGGG
  4923. CCCCCCCCCCCCCCC
  4924. CCCCCCCCCCCCCCC
  4925. MMMMMMMMMMMMMMM
  4926. GGGGGGGGGGGGGGG
  4927. GGGGGGGGGGGGGGG
  4928. GGGGGGGGGGGGGGG
  4929.  
  4930.  
  4931.  
  4932. Input:
  4933. Width: 15
  4934. Graham: 3
  4935. Chocolate: 2
  4936. Marshmellow: 2
  4937.  
  4938. Output:
  4939.  
  4940. GGGGGGGGGGGGGGG
  4941. GGGGGGGGGGGGGGG
  4942. GGGGGGGGGGGGGGG
  4943. CCCCCCCCCCCCCCC
  4944. CCCCCCCCCCCCCCC
  4945. MMMMMMMMMMMMMMM
  4946. MMMMMMMMMMMMMMM
  4947. GGGGGGGGGGGGGGG
  4948. GGGGGGGGGGGGGGG
  4949. GGGGGGGGGGGGGGG
  4950.  
  4951.  
  4952.  
  4953. Input:
  4954. Width: 15
  4955. Graham: 3
  4956. Chocolate: 3
  4957. Marshmellow: 1
  4958.  
  4959. Output:
  4960.  
  4961. GGGGGGGGGGGGGGG
  4962. GGGGGGGGGGGGGGG
  4963. GGGGGGGGGGGGGGG
  4964. CCCCCCCCCCCCCCC
  4965. CCCCCCCCCCCCCCC
  4966. CCCCCCCCCCCCCCC
  4967. MMMMMMMMMMMMMMM
  4968. GGGGGGGGGGGGGGG
  4969. GGGGGGGGGGGGGGG
  4970. GGGGGGGGGGGGGGG
  4971.  
  4972.  
  4973.  
  4974. Input:
  4975. Width: 15
  4976. Graham: 3
  4977. Chocolate: 3
  4978. Marshmellow: 2
  4979.  
  4980. Output:
  4981.  
  4982. GGGGGGGGGGGGGGG
  4983. GGGGGGGGGGGGGGG
  4984. GGGGGGGGGGGGGGG
  4985. CCCCCCCCCCCCCCC
  4986. CCCCCCCCCCCCCCC
  4987. CCCCCCCCCCCCCCC
  4988. MMMMMMMMMMMMMMM
  4989. MMMMMMMMMMMMMMM
  4990. GGGGGGGGGGGGGGG
  4991. GGGGGGGGGGGGGGG
  4992. GGGGGGGGGGGGGGG
  4993.  
  4994.  
  4995.  
  4996. Input:
  4997. Width: 16
  4998. Graham: 1
  4999. Chocolate: 1
  5000. Marshmellow: 1
  5001.  
  5002. Output:
  5003.  
  5004. GGGGGGGGGGGGGGGG
  5005. CCCCCCCCCCCCCCCC
  5006. MMMMMMMMMMMMMMMM
  5007. GGGGGGGGGGGGGGGG
  5008.  
  5009.  
  5010.  
  5011. Input:
  5012. Width: 16
  5013. Graham: 1
  5014. Chocolate: 1
  5015. Marshmellow: 2
  5016.  
  5017. Output:
  5018.  
  5019. GGGGGGGGGGGGGGGG
  5020. CCCCCCCCCCCCCCCC
  5021. MMMMMMMMMMMMMMMM
  5022. MMMMMMMMMMMMMMMM
  5023. GGGGGGGGGGGGGGGG
  5024.  
  5025.  
  5026.  
  5027. Input:
  5028. Width: 16
  5029. Graham: 1
  5030. Chocolate: 2
  5031. Marshmellow: 1
  5032.  
  5033. Output:
  5034.  
  5035. GGGGGGGGGGGGGGGG
  5036. CCCCCCCCCCCCCCCC
  5037. CCCCCCCCCCCCCCCC
  5038. MMMMMMMMMMMMMMMM
  5039. GGGGGGGGGGGGGGGG
  5040.  
  5041.  
  5042.  
  5043. Input:
  5044. Width: 16
  5045. Graham: 1
  5046. Chocolate: 2
  5047. Marshmellow: 2
  5048.  
  5049. Output:
  5050.  
  5051. GGGGGGGGGGGGGGGG
  5052. CCCCCCCCCCCCCCCC
  5053. CCCCCCCCCCCCCCCC
  5054. MMMMMMMMMMMMMMMM
  5055. MMMMMMMMMMMMMMMM
  5056. GGGGGGGGGGGGGGGG
  5057.  
  5058.  
  5059.  
  5060. Input:
  5061. Width: 16
  5062. Graham: 1
  5063. Chocolate: 3
  5064. Marshmellow: 1
  5065.  
  5066. Output:
  5067.  
  5068. GGGGGGGGGGGGGGGG
  5069. CCCCCCCCCCCCCCCC
  5070. CCCCCCCCCCCCCCCC
  5071. CCCCCCCCCCCCCCCC
  5072. MMMMMMMMMMMMMMMM
  5073. GGGGGGGGGGGGGGGG
  5074.  
  5075.  
  5076.  
  5077. Input:
  5078. Width: 16
  5079. Graham: 1
  5080. Chocolate: 3
  5081. Marshmellow: 2
  5082.  
  5083. Output:
  5084.  
  5085. GGGGGGGGGGGGGGGG
  5086. CCCCCCCCCCCCCCCC
  5087. CCCCCCCCCCCCCCCC
  5088. CCCCCCCCCCCCCCCC
  5089. MMMMMMMMMMMMMMMM
  5090. MMMMMMMMMMMMMMMM
  5091. GGGGGGGGGGGGGGGG
  5092.  
  5093.  
  5094.  
  5095. Input:
  5096. Width: 16
  5097. Graham: 2
  5098. Chocolate: 1
  5099. Marshmellow: 1
  5100.  
  5101. Output:
  5102.  
  5103. GGGGGGGGGGGGGGGG
  5104. GGGGGGGGGGGGGGGG
  5105. CCCCCCCCCCCCCCCC
  5106. MMMMMMMMMMMMMMMM
  5107. GGGGGGGGGGGGGGGG
  5108. GGGGGGGGGGGGGGGG
  5109.  
  5110.  
  5111.  
  5112. Input:
  5113. Width: 16
  5114. Graham: 2
  5115. Chocolate: 1
  5116. Marshmellow: 2
  5117.  
  5118. Output:
  5119.  
  5120. GGGGGGGGGGGGGGGG
  5121. GGGGGGGGGGGGGGGG
  5122. CCCCCCCCCCCCCCCC
  5123. MMMMMMMMMMMMMMMM
  5124. MMMMMMMMMMMMMMMM
  5125. GGGGGGGGGGGGGGGG
  5126. GGGGGGGGGGGGGGGG
  5127.  
  5128.  
  5129.  
  5130. Input:
  5131. Width: 16
  5132. Graham: 2
  5133. Chocolate: 2
  5134. Marshmellow: 1
  5135.  
  5136. Output:
  5137.  
  5138. GGGGGGGGGGGGGGGG
  5139. GGGGGGGGGGGGGGGG
  5140. CCCCCCCCCCCCCCCC
  5141. CCCCCCCCCCCCCCCC
  5142. MMMMMMMMMMMMMMMM
  5143. GGGGGGGGGGGGGGGG
  5144. GGGGGGGGGGGGGGGG
  5145.  
  5146.  
  5147.  
  5148. Input:
  5149. Width: 16
  5150. Graham: 2
  5151. Chocolate: 2
  5152. Marshmellow: 2
  5153.  
  5154. Output:
  5155.  
  5156. GGGGGGGGGGGGGGGG
  5157. GGGGGGGGGGGGGGGG
  5158. CCCCCCCCCCCCCCCC
  5159. CCCCCCCCCCCCCCCC
  5160. MMMMMMMMMMMMMMMM
  5161. MMMMMMMMMMMMMMMM
  5162. GGGGGGGGGGGGGGGG
  5163. GGGGGGGGGGGGGGGG
  5164.  
  5165.  
  5166.  
  5167. Input:
  5168. Width: 16
  5169. Graham: 2
  5170. Chocolate: 3
  5171. Marshmellow: 1
  5172.  
  5173. Output:
  5174.  
  5175. GGGGGGGGGGGGGGGG
  5176. GGGGGGGGGGGGGGGG
  5177. CCCCCCCCCCCCCCCC
  5178. CCCCCCCCCCCCCCCC
  5179. CCCCCCCCCCCCCCCC
  5180. MMMMMMMMMMMMMMMM
  5181. GGGGGGGGGGGGGGGG
  5182. GGGGGGGGGGGGGGGG
  5183.  
  5184.  
  5185.  
  5186. Input:
  5187. Width: 16
  5188. Graham: 2
  5189. Chocolate: 3
  5190. Marshmellow: 2
  5191.  
  5192. Output:
  5193.  
  5194. GGGGGGGGGGGGGGGG
  5195. GGGGGGGGGGGGGGGG
  5196. CCCCCCCCCCCCCCCC
  5197. CCCCCCCCCCCCCCCC
  5198. CCCCCCCCCCCCCCCC
  5199. MMMMMMMMMMMMMMMM
  5200. MMMMMMMMMMMMMMMM
  5201. GGGGGGGGGGGGGGGG
  5202. GGGGGGGGGGGGGGGG
  5203.  
  5204.  
  5205.  
  5206. Input:
  5207. Width: 16
  5208. Graham: 3
  5209. Chocolate: 1
  5210. Marshmellow: 1
  5211.  
  5212. Output:
  5213.  
  5214. GGGGGGGGGGGGGGGG
  5215. GGGGGGGGGGGGGGGG
  5216. GGGGGGGGGGGGGGGG
  5217. CCCCCCCCCCCCCCCC
  5218. MMMMMMMMMMMMMMMM
  5219. GGGGGGGGGGGGGGGG
  5220. GGGGGGGGGGGGGGGG
  5221. GGGGGGGGGGGGGGGG
  5222.  
  5223.  
  5224.  
  5225. Input:
  5226. Width: 16
  5227. Graham: 3
  5228. Chocolate: 1
  5229. Marshmellow: 2
  5230.  
  5231. Output:
  5232.  
  5233. GGGGGGGGGGGGGGGG
  5234. GGGGGGGGGGGGGGGG
  5235. GGGGGGGGGGGGGGGG
  5236. CCCCCCCCCCCCCCCC
  5237. MMMMMMMMMMMMMMMM
  5238. MMMMMMMMMMMMMMMM
  5239. GGGGGGGGGGGGGGGG
  5240. GGGGGGGGGGGGGGGG
  5241. GGGGGGGGGGGGGGGG
  5242.  
  5243.  
  5244.  
  5245. Input:
  5246. Width: 16
  5247. Graham: 3
  5248. Chocolate: 2
  5249. Marshmellow: 1
  5250.  
  5251. Output:
  5252.  
  5253. GGGGGGGGGGGGGGGG
  5254. GGGGGGGGGGGGGGGG
  5255. GGGGGGGGGGGGGGGG
  5256. CCCCCCCCCCCCCCCC
  5257. CCCCCCCCCCCCCCCC
  5258. MMMMMMMMMMMMMMMM
  5259. GGGGGGGGGGGGGGGG
  5260. GGGGGGGGGGGGGGGG
  5261. GGGGGGGGGGGGGGGG
  5262.  
  5263.  
  5264.  
  5265. Input:
  5266. Width: 16
  5267. Graham: 3
  5268. Chocolate: 2
  5269. Marshmellow: 2
  5270.  
  5271. Output:
  5272.  
  5273. GGGGGGGGGGGGGGGG
  5274. GGGGGGGGGGGGGGGG
  5275. GGGGGGGGGGGGGGGG
  5276. CCCCCCCCCCCCCCCC
  5277. CCCCCCCCCCCCCCCC
  5278. MMMMMMMMMMMMMMMM
  5279. MMMMMMMMMMMMMMMM
  5280. GGGGGGGGGGGGGGGG
  5281. GGGGGGGGGGGGGGGG
  5282. GGGGGGGGGGGGGGGG
  5283.  
  5284.  
  5285.  
  5286. Input:
  5287. Width: 16
  5288. Graham: 3
  5289. Chocolate: 3
  5290. Marshmellow: 1
  5291.  
  5292. Output:
  5293.  
  5294. GGGGGGGGGGGGGGGG
  5295. GGGGGGGGGGGGGGGG
  5296. GGGGGGGGGGGGGGGG
  5297. CCCCCCCCCCCCCCCC
  5298. CCCCCCCCCCCCCCCC
  5299. CCCCCCCCCCCCCCCC
  5300. MMMMMMMMMMMMMMMM
  5301. GGGGGGGGGGGGGGGG
  5302. GGGGGGGGGGGGGGGG
  5303. GGGGGGGGGGGGGGGG
  5304.  
  5305.  
  5306.  
  5307. Input:
  5308. Width: 16
  5309. Graham: 3
  5310. Chocolate: 3
  5311. Marshmellow: 2
  5312.  
  5313. Output:
  5314.  
  5315. GGGGGGGGGGGGGGGG
  5316. GGGGGGGGGGGGGGGG
  5317. GGGGGGGGGGGGGGGG
  5318. CCCCCCCCCCCCCCCC
  5319. CCCCCCCCCCCCCCCC
  5320. CCCCCCCCCCCCCCCC
  5321. MMMMMMMMMMMMMMMM
  5322. MMMMMMMMMMMMMMMM
  5323. GGGGGGGGGGGGGGGG
  5324. GGGGGGGGGGGGGGGG
  5325. GGGGGGGGGGGGGGGG
  5326.  
  5327.  
  5328.  
  5329. Input:
  5330. Width: 17
  5331. Graham: 1
  5332. Chocolate: 1
  5333. Marshmellow: 1
  5334.  
  5335. Output:
  5336.  
  5337. GGGGGGGGGGGGGGGGG
  5338. CCCCCCCCCCCCCCCCC
  5339. MMMMMMMMMMMMMMMMM
  5340. GGGGGGGGGGGGGGGGG
  5341.  
  5342.  
  5343.  
  5344. Input:
  5345. Width: 17
  5346. Graham: 1
  5347. Chocolate: 1
  5348. Marshmellow: 2
  5349.  
  5350. Output:
  5351.  
  5352. GGGGGGGGGGGGGGGGG
  5353. CCCCCCCCCCCCCCCCC
  5354. MMMMMMMMMMMMMMMMM
  5355. MMMMMMMMMMMMMMMMM
  5356. GGGGGGGGGGGGGGGGG
  5357.  
  5358.  
  5359.  
  5360. Input:
  5361. Width: 17
  5362. Graham: 1
  5363. Chocolate: 2
  5364. Marshmellow: 1
  5365.  
  5366. Output:
  5367.  
  5368. GGGGGGGGGGGGGGGGG
  5369. CCCCCCCCCCCCCCCCC
  5370. CCCCCCCCCCCCCCCCC
  5371. MMMMMMMMMMMMMMMMM
  5372. GGGGGGGGGGGGGGGGG
  5373.  
  5374.  
  5375.  
  5376. Input:
  5377. Width: 17
  5378. Graham: 1
  5379. Chocolate: 2
  5380. Marshmellow: 2
  5381.  
  5382. Output:
  5383.  
  5384. GGGGGGGGGGGGGGGGG
  5385. CCCCCCCCCCCCCCCCC
  5386. CCCCCCCCCCCCCCCCC
  5387. MMMMMMMMMMMMMMMMM
  5388. MMMMMMMMMMMMMMMMM
  5389. GGGGGGGGGGGGGGGGG
  5390.  
  5391.  
  5392.  
  5393. Input:
  5394. Width: 17
  5395. Graham: 1
  5396. Chocolate: 3
  5397. Marshmellow: 1
  5398.  
  5399. Output:
  5400.  
  5401. GGGGGGGGGGGGGGGGG
  5402. CCCCCCCCCCCCCCCCC
  5403. CCCCCCCCCCCCCCCCC
  5404. CCCCCCCCCCCCCCCCC
  5405. MMMMMMMMMMMMMMMMM
  5406. GGGGGGGGGGGGGGGGG
  5407.  
  5408.  
  5409.  
  5410. Input:
  5411. Width: 17
  5412. Graham: 1
  5413. Chocolate: 3
  5414. Marshmellow: 2
  5415.  
  5416. Output:
  5417.  
  5418. GGGGGGGGGGGGGGGGG
  5419. CCCCCCCCCCCCCCCCC
  5420. CCCCCCCCCCCCCCCCC
  5421. CCCCCCCCCCCCCCCCC
  5422. MMMMMMMMMMMMMMMMM
  5423. MMMMMMMMMMMMMMMMM
  5424. GGGGGGGGGGGGGGGGG
  5425.  
  5426.  
  5427.  
  5428. Input:
  5429. Width: 17
  5430. Graham: 2
  5431. Chocolate: 1
  5432. Marshmellow: 1
  5433.  
  5434. Output:
  5435.  
  5436. GGGGGGGGGGGGGGGGG
  5437. GGGGGGGGGGGGGGGGG
  5438. CCCCCCCCCCCCCCCCC
  5439. MMMMMMMMMMMMMMMMM
  5440. GGGGGGGGGGGGGGGGG
  5441. GGGGGGGGGGGGGGGGG
  5442.  
  5443.  
  5444.  
  5445. Input:
  5446. Width: 17
  5447. Graham: 2
  5448. Chocolate: 1
  5449. Marshmellow: 2
  5450.  
  5451. Output:
  5452.  
  5453. GGGGGGGGGGGGGGGGG
  5454. GGGGGGGGGGGGGGGGG
  5455. CCCCCCCCCCCCCCCCC
  5456. MMMMMMMMMMMMMMMMM
  5457. MMMMMMMMMMMMMMMMM
  5458. GGGGGGGGGGGGGGGGG
  5459. GGGGGGGGGGGGGGGGG
  5460.  
  5461.  
  5462.  
  5463. Input:
  5464. Width: 17
  5465. Graham: 2
  5466. Chocolate: 2
  5467. Marshmellow: 1
  5468.  
  5469. Output:
  5470.  
  5471. GGGGGGGGGGGGGGGGG
  5472. GGGGGGGGGGGGGGGGG
  5473. CCCCCCCCCCCCCCCCC
  5474. CCCCCCCCCCCCCCCCC
  5475. MMMMMMMMMMMMMMMMM
  5476. GGGGGGGGGGGGGGGGG
  5477. GGGGGGGGGGGGGGGGG
  5478.  
  5479.  
  5480.  
  5481. Input:
  5482. Width: 17
  5483. Graham: 2
  5484. Chocolate: 2
  5485. Marshmellow: 2
  5486.  
  5487. Output:
  5488.  
  5489. GGGGGGGGGGGGGGGGG
  5490. GGGGGGGGGGGGGGGGG
  5491. CCCCCCCCCCCCCCCCC
  5492. CCCCCCCCCCCCCCCCC
  5493. MMMMMMMMMMMMMMMMM
  5494. MMMMMMMMMMMMMMMMM
  5495. GGGGGGGGGGGGGGGGG
  5496. GGGGGGGGGGGGGGGGG
  5497.  
  5498.  
  5499.  
  5500. Input:
  5501. Width: 17
  5502. Graham: 2
  5503. Chocolate: 3
  5504. Marshmellow: 1
  5505.  
  5506. Output:
  5507.  
  5508. GGGGGGGGGGGGGGGGG
  5509. GGGGGGGGGGGGGGGGG
  5510. CCCCCCCCCCCCCCCCC
  5511. CCCCCCCCCCCCCCCCC
  5512. CCCCCCCCCCCCCCCCC
  5513. MMMMMMMMMMMMMMMMM
  5514. GGGGGGGGGGGGGGGGG
  5515. GGGGGGGGGGGGGGGGG
  5516.  
  5517.  
  5518.  
  5519. Input:
  5520. Width: 17
  5521. Graham: 2
  5522. Chocolate: 3
  5523. Marshmellow: 2
  5524.  
  5525. Output:
  5526.  
  5527. GGGGGGGGGGGGGGGGG
  5528. GGGGGGGGGGGGGGGGG
  5529. CCCCCCCCCCCCCCCCC
  5530. CCCCCCCCCCCCCCCCC
  5531. CCCCCCCCCCCCCCCCC
  5532. MMMMMMMMMMMMMMMMM
  5533. MMMMMMMMMMMMMMMMM
  5534. GGGGGGGGGGGGGGGGG
  5535. GGGGGGGGGGGGGGGGG
  5536.  
  5537.  
  5538.  
  5539. Input:
  5540. Width: 17
  5541. Graham: 3
  5542. Chocolate: 1
  5543. Marshmellow: 1
  5544.  
  5545. Output:
  5546.  
  5547. GGGGGGGGGGGGGGGGG
  5548. GGGGGGGGGGGGGGGGG
  5549. GGGGGGGGGGGGGGGGG
  5550. CCCCCCCCCCCCCCCCC
  5551. MMMMMMMMMMMMMMMMM
  5552. GGGGGGGGGGGGGGGGG
  5553. GGGGGGGGGGGGGGGGG
  5554. GGGGGGGGGGGGGGGGG
  5555.  
  5556.  
  5557.  
  5558. Input:
  5559. Width: 17
  5560. Graham: 3
  5561. Chocolate: 1
  5562. Marshmellow: 2
  5563.  
  5564. Output:
  5565.  
  5566. GGGGGGGGGGGGGGGGG
  5567. GGGGGGGGGGGGGGGGG
  5568. GGGGGGGGGGGGGGGGG
  5569. CCCCCCCCCCCCCCCCC
  5570. MMMMMMMMMMMMMMMMM
  5571. MMMMMMMMMMMMMMMMM
  5572. GGGGGGGGGGGGGGGGG
  5573. GGGGGGGGGGGGGGGGG
  5574. GGGGGGGGGGGGGGGGG
  5575.  
  5576.  
  5577.  
  5578. Input:
  5579. Width: 17
  5580. Graham: 3
  5581. Chocolate: 2
  5582. Marshmellow: 1
  5583.  
  5584. Output:
  5585.  
  5586. GGGGGGGGGGGGGGGGG
  5587. GGGGGGGGGGGGGGGGG
  5588. GGGGGGGGGGGGGGGGG
  5589. CCCCCCCCCCCCCCCCC
  5590. CCCCCCCCCCCCCCCCC
  5591. MMMMMMMMMMMMMMMMM
  5592. GGGGGGGGGGGGGGGGG
  5593. GGGGGGGGGGGGGGGGG
  5594. GGGGGGGGGGGGGGGGG
  5595.  
  5596.  
  5597.  
  5598. Input:
  5599. Width: 17
  5600. Graham: 3
  5601. Chocolate: 2
  5602. Marshmellow: 2
  5603.  
  5604. Output:
  5605.  
  5606. GGGGGGGGGGGGGGGGG
  5607. GGGGGGGGGGGGGGGGG
  5608. GGGGGGGGGGGGGGGGG
  5609. CCCCCCCCCCCCCCCCC
  5610. CCCCCCCCCCCCCCCCC
  5611. MMMMMMMMMMMMMMMMM
  5612. MMMMMMMMMMMMMMMMM
  5613. GGGGGGGGGGGGGGGGG
  5614. GGGGGGGGGGGGGGGGG
  5615. GGGGGGGGGGGGGGGGG
  5616.  
  5617.  
  5618.  
  5619. Input:
  5620. Width: 17
  5621. Graham: 3
  5622. Chocolate: 3
  5623. Marshmellow: 1
  5624.  
  5625. Output:
  5626.  
  5627. GGGGGGGGGGGGGGGGG
  5628. GGGGGGGGGGGGGGGGG
  5629. GGGGGGGGGGGGGGGGG
  5630. CCCCCCCCCCCCCCCCC
  5631. CCCCCCCCCCCCCCCCC
  5632. CCCCCCCCCCCCCCCCC
  5633. MMMMMMMMMMMMMMMMM
  5634. GGGGGGGGGGGGGGGGG
  5635. GGGGGGGGGGGGGGGGG
  5636. GGGGGGGGGGGGGGGGG
  5637.  
  5638.  
  5639.  
  5640. Input:
  5641. Width: 17
  5642. Graham: 3
  5643. Chocolate: 3
  5644. Marshmellow: 2
  5645.  
  5646. Output:
  5647.  
  5648. GGGGGGGGGGGGGGGGG
  5649. GGGGGGGGGGGGGGGGG
  5650. GGGGGGGGGGGGGGGGG
  5651. CCCCCCCCCCCCCCCCC
  5652. CCCCCCCCCCCCCCCCC
  5653. CCCCCCCCCCCCCCCCC
  5654. MMMMMMMMMMMMMMMMM
  5655. MMMMMMMMMMMMMMMMM
  5656. GGGGGGGGGGGGGGGGG
  5657. GGGGGGGGGGGGGGGGG
  5658. GGGGGGGGGGGGGGGGG
  5659.  
  5660.  
  5661.  
  5662. Input:
  5663. Width: 18
  5664. Graham: 1
  5665. Chocolate: 1
  5666. Marshmellow: 1
  5667.  
  5668. Output:
  5669.  
  5670. GGGGGGGGGGGGGGGGGG
  5671. CCCCCCCCCCCCCCCCCC
  5672. MMMMMMMMMMMMMMMMMM
  5673. GGGGGGGGGGGGGGGGGG
  5674.  
  5675.  
  5676.  
  5677. Input:
  5678. Width: 18
  5679. Graham: 1
  5680. Chocolate: 1
  5681. Marshmellow: 2
  5682.  
  5683. Output:
  5684.  
  5685. GGGGGGGGGGGGGGGGGG
  5686. CCCCCCCCCCCCCCCCCC
  5687. MMMMMMMMMMMMMMMMMM
  5688. MMMMMMMMMMMMMMMMMM
  5689. GGGGGGGGGGGGGGGGGG
  5690.  
  5691.  
  5692.  
  5693. Input:
  5694. Width: 18
  5695. Graham: 1
  5696. Chocolate: 2
  5697. Marshmellow: 1
  5698.  
  5699. Output:
  5700.  
  5701. GGGGGGGGGGGGGGGGGG
  5702. CCCCCCCCCCCCCCCCCC
  5703. CCCCCCCCCCCCCCCCCC
  5704. MMMMMMMMMMMMMMMMMM
  5705. GGGGGGGGGGGGGGGGGG
  5706.  
  5707.  
  5708.  
  5709. Input:
  5710. Width: 18
  5711. Graham: 1
  5712. Chocolate: 2
  5713. Marshmellow: 2
  5714.  
  5715. Output:
  5716.  
  5717. GGGGGGGGGGGGGGGGGG
  5718. CCCCCCCCCCCCCCCCCC
  5719. CCCCCCCCCCCCCCCCCC
  5720. MMMMMMMMMMMMMMMMMM
  5721. MMMMMMMMMMMMMMMMMM
  5722. GGGGGGGGGGGGGGGGGG
  5723.  
  5724.  
  5725.  
  5726. Input:
  5727. Width: 18
  5728. Graham: 1
  5729. Chocolate: 3
  5730. Marshmellow: 1
  5731.  
  5732. Output:
  5733.  
  5734. GGGGGGGGGGGGGGGGGG
  5735. CCCCCCCCCCCCCCCCCC
  5736. CCCCCCCCCCCCCCCCCC
  5737. CCCCCCCCCCCCCCCCCC
  5738. MMMMMMMMMMMMMMMMMM
  5739. GGGGGGGGGGGGGGGGGG
  5740.  
  5741.  
  5742.  
  5743. Input:
  5744. Width: 18
  5745. Graham: 1
  5746. Chocolate: 3
  5747. Marshmellow: 2
  5748.  
  5749. Output:
  5750.  
  5751. GGGGGGGGGGGGGGGGGG
  5752. CCCCCCCCCCCCCCCCCC
  5753. CCCCCCCCCCCCCCCCCC
  5754. CCCCCCCCCCCCCCCCCC
  5755. MMMMMMMMMMMMMMMMMM
  5756. MMMMMMMMMMMMMMMMMM
  5757. GGGGGGGGGGGGGGGGGG
  5758.  
  5759.  
  5760.  
  5761. Input:
  5762. Width: 18
  5763. Graham: 2
  5764. Chocolate: 1
  5765. Marshmellow: 1
  5766.  
  5767. Output:
  5768.  
  5769. GGGGGGGGGGGGGGGGGG
  5770. GGGGGGGGGGGGGGGGGG
  5771. CCCCCCCCCCCCCCCCCC
  5772. MMMMMMMMMMMMMMMMMM
  5773. GGGGGGGGGGGGGGGGGG
  5774. GGGGGGGGGGGGGGGGGG
  5775.  
  5776.  
  5777.  
  5778. Input:
  5779. Width: 18
  5780. Graham: 2
  5781. Chocolate: 1
  5782. Marshmellow: 2
  5783.  
  5784. Output:
  5785.  
  5786. GGGGGGGGGGGGGGGGGG
  5787. GGGGGGGGGGGGGGGGGG
  5788. CCCCCCCCCCCCCCCCCC
  5789. MMMMMMMMMMMMMMMMMM
  5790. MMMMMMMMMMMMMMMMMM
  5791. GGGGGGGGGGGGGGGGGG
  5792. GGGGGGGGGGGGGGGGGG
  5793.  
  5794.  
  5795.  
  5796. Input:
  5797. Width: 18
  5798. Graham: 2
  5799. Chocolate: 2
  5800. Marshmellow: 1
  5801.  
  5802. Output:
  5803.  
  5804. GGGGGGGGGGGGGGGGGG
  5805. GGGGGGGGGGGGGGGGGG
  5806. CCCCCCCCCCCCCCCCCC
  5807. CCCCCCCCCCCCCCCCCC
  5808. MMMMMMMMMMMMMMMMMM
  5809. GGGGGGGGGGGGGGGGGG
  5810. GGGGGGGGGGGGGGGGGG
  5811.  
  5812.  
  5813.  
  5814. Input:
  5815. Width: 18
  5816. Graham: 2
  5817. Chocolate: 2
  5818. Marshmellow: 2
  5819.  
  5820. Output:
  5821.  
  5822. GGGGGGGGGGGGGGGGGG
  5823. GGGGGGGGGGGGGGGGGG
  5824. CCCCCCCCCCCCCCCCCC
  5825. CCCCCCCCCCCCCCCCCC
  5826. MMMMMMMMMMMMMMMMMM
  5827. MMMMMMMMMMMMMMMMMM
  5828. GGGGGGGGGGGGGGGGGG
  5829. GGGGGGGGGGGGGGGGGG
  5830.  
  5831.  
  5832.  
  5833. Input:
  5834. Width: 18
  5835. Graham: 2
  5836. Chocolate: 3
  5837. Marshmellow: 1
  5838.  
  5839. Output:
  5840.  
  5841. GGGGGGGGGGGGGGGGGG
  5842. GGGGGGGGGGGGGGGGGG
  5843. CCCCCCCCCCCCCCCCCC
  5844. CCCCCCCCCCCCCCCCCC
  5845. CCCCCCCCCCCCCCCCCC
  5846. MMMMMMMMMMMMMMMMMM
  5847. GGGGGGGGGGGGGGGGGG
  5848. GGGGGGGGGGGGGGGGGG
  5849.  
  5850.  
  5851.  
  5852. Input:
  5853. Width: 18
  5854. Graham: 2
  5855. Chocolate: 3
  5856. Marshmellow: 2
  5857.  
  5858. Output:
  5859.  
  5860. GGGGGGGGGGGGGGGGGG
  5861. GGGGGGGGGGGGGGGGGG
  5862. CCCCCCCCCCCCCCCCCC
  5863. CCCCCCCCCCCCCCCCCC
  5864. CCCCCCCCCCCCCCCCCC
  5865. MMMMMMMMMMMMMMMMMM
  5866. MMMMMMMMMMMMMMMMMM
  5867. GGGGGGGGGGGGGGGGGG
  5868. GGGGGGGGGGGGGGGGGG
  5869.  
  5870.  
  5871.  
  5872. Input:
  5873. Width: 18
  5874. Graham: 3
  5875. Chocolate: 1
  5876. Marshmellow: 1
  5877.  
  5878. Output:
  5879.  
  5880. GGGGGGGGGGGGGGGGGG
  5881. GGGGGGGGGGGGGGGGGG
  5882. GGGGGGGGGGGGGGGGGG
  5883. CCCCCCCCCCCCCCCCCC
  5884. MMMMMMMMMMMMMMMMMM
  5885. GGGGGGGGGGGGGGGGGG
  5886. GGGGGGGGGGGGGGGGGG
  5887. GGGGGGGGGGGGGGGGGG
  5888.  
  5889.  
  5890.  
  5891. Input:
  5892. Width: 18
  5893. Graham: 3
  5894. Chocolate: 1
  5895. Marshmellow: 2
  5896.  
  5897. Output:
  5898.  
  5899. GGGGGGGGGGGGGGGGGG
  5900. GGGGGGGGGGGGGGGGGG
  5901. GGGGGGGGGGGGGGGGGG
  5902. CCCCCCCCCCCCCCCCCC
  5903. MMMMMMMMMMMMMMMMMM
  5904. MMMMMMMMMMMMMMMMMM
  5905. GGGGGGGGGGGGGGGGGG
  5906. GGGGGGGGGGGGGGGGGG
  5907. GGGGGGGGGGGGGGGGGG
  5908.  
  5909.  
  5910.  
  5911. Input:
  5912. Width: 18
  5913. Graham: 3
  5914. Chocolate: 2
  5915. Marshmellow: 1
  5916.  
  5917. Output:
  5918.  
  5919. GGGGGGGGGGGGGGGGGG
  5920. GGGGGGGGGGGGGGGGGG
  5921. GGGGGGGGGGGGGGGGGG
  5922. CCCCCCCCCCCCCCCCCC
  5923. CCCCCCCCCCCCCCCCCC
  5924. MMMMMMMMMMMMMMMMMM
  5925. GGGGGGGGGGGGGGGGGG
  5926. GGGGGGGGGGGGGGGGGG
  5927. GGGGGGGGGGGGGGGGGG
  5928.  
  5929.  
  5930.  
  5931. Input:
  5932. Width: 18
  5933. Graham: 3
  5934. Chocolate: 2
  5935. Marshmellow: 2
  5936.  
  5937. Output:
  5938.  
  5939. GGGGGGGGGGGGGGGGGG
  5940. GGGGGGGGGGGGGGGGGG
  5941. GGGGGGGGGGGGGGGGGG
  5942. CCCCCCCCCCCCCCCCCC
  5943. CCCCCCCCCCCCCCCCCC
  5944. MMMMMMMMMMMMMMMMMM
  5945. MMMMMMMMMMMMMMMMMM
  5946. GGGGGGGGGGGGGGGGGG
  5947. GGGGGGGGGGGGGGGGGG
  5948. GGGGGGGGGGGGGGGGGG
  5949.  
  5950.  
  5951.  
  5952. Input:
  5953. Width: 18
  5954. Graham: 3
  5955. Chocolate: 3
  5956. Marshmellow: 1
  5957.  
  5958. Output:
  5959.  
  5960. GGGGGGGGGGGGGGGGGG
  5961. GGGGGGGGGGGGGGGGGG
  5962. GGGGGGGGGGGGGGGGGG
  5963. CCCCCCCCCCCCCCCCCC
  5964. CCCCCCCCCCCCCCCCCC
  5965. CCCCCCCCCCCCCCCCCC
  5966. MMMMMMMMMMMMMMMMMM
  5967. GGGGGGGGGGGGGGGGGG
  5968. GGGGGGGGGGGGGGGGGG
  5969. GGGGGGGGGGGGGGGGGG
  5970.  
  5971.  
  5972.  
  5973. Input:
  5974. Width: 18
  5975. Graham: 3
  5976. Chocolate: 3
  5977. Marshmellow: 2
  5978.  
  5979. Output:
  5980.  
  5981. GGGGGGGGGGGGGGGGGG
  5982. GGGGGGGGGGGGGGGGGG
  5983. GGGGGGGGGGGGGGGGGG
  5984. CCCCCCCCCCCCCCCCCC
  5985. CCCCCCCCCCCCCCCCCC
  5986. CCCCCCCCCCCCCCCCCC
  5987. MMMMMMMMMMMMMMMMMM
  5988. MMMMMMMMMMMMMMMMMM
  5989. GGGGGGGGGGGGGGGGGG
  5990. GGGGGGGGGGGGGGGGGG
  5991. GGGGGGGGGGGGGGGGGG
  5992.  
  5993.  
  5994.  
  5995. Input:
  5996. Width: 19
  5997. Graham: 1
  5998. Chocolate: 1
  5999. Marshmellow: 1
  6000.  
  6001. Output:
  6002.  
  6003. GGGGGGGGGGGGGGGGGGG
  6004. CCCCCCCCCCCCCCCCCCC
  6005. MMMMMMMMMMMMMMMMMMM
  6006. GGGGGGGGGGGGGGGGGGG
  6007.  
  6008.  
  6009.  
  6010. Input:
  6011. Width: 19
  6012. Graham: 1
  6013. Chocolate: 1
  6014. Marshmellow: 2
  6015.  
  6016. Output:
  6017.  
  6018. GGGGGGGGGGGGGGGGGGG
  6019. CCCCCCCCCCCCCCCCCCC
  6020. MMMMMMMMMMMMMMMMMMM
  6021. MMMMMMMMMMMMMMMMMMM
  6022. GGGGGGGGGGGGGGGGGGG
  6023.  
  6024.  
  6025.  
  6026. Input:
  6027. Width: 19
  6028. Graham: 1
  6029. Chocolate: 2
  6030. Marshmellow: 1
  6031.  
  6032. Output:
  6033.  
  6034. GGGGGGGGGGGGGGGGGGG
  6035. CCCCCCCCCCCCCCCCCCC
  6036. CCCCCCCCCCCCCCCCCCC
  6037. MMMMMMMMMMMMMMMMMMM
  6038. GGGGGGGGGGGGGGGGGGG
  6039.  
  6040.  
  6041.  
  6042. Input:
  6043. Width: 19
  6044. Graham: 1
  6045. Chocolate: 2
  6046. Marshmellow: 2
  6047.  
  6048. Output:
  6049.  
  6050. GGGGGGGGGGGGGGGGGGG
  6051. CCCCCCCCCCCCCCCCCCC
  6052. CCCCCCCCCCCCCCCCCCC
  6053. MMMMMMMMMMMMMMMMMMM
  6054. MMMMMMMMMMMMMMMMMMM
  6055. GGGGGGGGGGGGGGGGGGG
  6056.  
  6057.  
  6058.  
  6059. Input:
  6060. Width: 19
  6061. Graham: 1
  6062. Chocolate: 3
  6063. Marshmellow: 1
  6064.  
  6065. Output:
  6066.  
  6067. GGGGGGGGGGGGGGGGGGG
  6068. CCCCCCCCCCCCCCCCCCC
  6069. CCCCCCCCCCCCCCCCCCC
  6070. CCCCCCCCCCCCCCCCCCC
  6071. MMMMMMMMMMMMMMMMMMM
  6072. GGGGGGGGGGGGGGGGGGG
  6073.  
  6074.  
  6075.  
  6076. Input:
  6077. Width: 19
  6078. Graham: 1
  6079. Chocolate: 3
  6080. Marshmellow: 2
  6081.  
  6082. Output:
  6083.  
  6084. GGGGGGGGGGGGGGGGGGG
  6085. CCCCCCCCCCCCCCCCCCC
  6086. CCCCCCCCCCCCCCCCCCC
  6087. CCCCCCCCCCCCCCCCCCC
  6088. MMMMMMMMMMMMMMMMMMM
  6089. MMMMMMMMMMMMMMMMMMM
  6090. GGGGGGGGGGGGGGGGGGG
  6091.  
  6092.  
  6093.  
  6094. Input:
  6095. Width: 19
  6096. Graham: 2
  6097. Chocolate: 1
  6098. Marshmellow: 1
  6099.  
  6100. Output:
  6101.  
  6102. GGGGGGGGGGGGGGGGGGG
  6103. GGGGGGGGGGGGGGGGGGG
  6104. CCCCCCCCCCCCCCCCCCC
  6105. MMMMMMMMMMMMMMMMMMM
  6106. GGGGGGGGGGGGGGGGGGG
  6107. GGGGGGGGGGGGGGGGGGG
  6108.  
  6109.  
  6110.  
  6111. Input:
  6112. Width: 19
  6113. Graham: 2
  6114. Chocolate: 1
  6115. Marshmellow: 2
  6116.  
  6117. Output:
  6118.  
  6119. GGGGGGGGGGGGGGGGGGG
  6120. GGGGGGGGGGGGGGGGGGG
  6121. CCCCCCCCCCCCCCCCCCC
  6122. MMMMMMMMMMMMMMMMMMM
  6123. MMMMMMMMMMMMMMMMMMM
  6124. GGGGGGGGGGGGGGGGGGG
  6125. GGGGGGGGGGGGGGGGGGG
  6126.  
  6127.  
  6128.  
  6129. Input:
  6130. Width: 19
  6131. Graham: 2
  6132. Chocolate: 2
  6133. Marshmellow: 1
  6134.  
  6135. Output:
  6136.  
  6137. GGGGGGGGGGGGGGGGGGG
  6138. GGGGGGGGGGGGGGGGGGG
  6139. CCCCCCCCCCCCCCCCCCC
  6140. CCCCCCCCCCCCCCCCCCC
  6141. MMMMMMMMMMMMMMMMMMM
  6142. GGGGGGGGGGGGGGGGGGG
  6143. GGGGGGGGGGGGGGGGGGG
  6144.  
  6145.  
  6146.  
  6147. Input:
  6148. Width: 19
  6149. Graham: 2
  6150. Chocolate: 2
  6151. Marshmellow: 2
  6152.  
  6153. Output:
  6154.  
  6155. GGGGGGGGGGGGGGGGGGG
  6156. GGGGGGGGGGGGGGGGGGG
  6157. CCCCCCCCCCCCCCCCCCC
  6158. CCCCCCCCCCCCCCCCCCC
  6159. MMMMMMMMMMMMMMMMMMM
  6160. MMMMMMMMMMMMMMMMMMM
  6161. GGGGGGGGGGGGGGGGGGG
  6162. GGGGGGGGGGGGGGGGGGG
  6163.  
  6164.  
  6165.  
  6166. Input:
  6167. Width: 19
  6168. Graham: 2
  6169. Chocolate: 3
  6170. Marshmellow: 1
  6171.  
  6172. Output:
  6173.  
  6174. GGGGGGGGGGGGGGGGGGG
  6175. GGGGGGGGGGGGGGGGGGG
  6176. CCCCCCCCCCCCCCCCCCC
  6177. CCCCCCCCCCCCCCCCCCC
  6178. CCCCCCCCCCCCCCCCCCC
  6179. MMMMMMMMMMMMMMMMMMM
  6180. GGGGGGGGGGGGGGGGGGG
  6181. GGGGGGGGGGGGGGGGGGG
  6182.  
  6183.  
  6184.  
  6185. Input:
  6186. Width: 19
  6187. Graham: 2
  6188. Chocolate: 3
  6189. Marshmellow: 2
  6190.  
  6191. Output:
  6192.  
  6193. GGGGGGGGGGGGGGGGGGG
  6194. GGGGGGGGGGGGGGGGGGG
  6195. CCCCCCCCCCCCCCCCCCC
  6196. CCCCCCCCCCCCCCCCCCC
  6197. CCCCCCCCCCCCCCCCCCC
  6198. MMMMMMMMMMMMMMMMMMM
  6199. MMMMMMMMMMMMMMMMMMM
  6200. GGGGGGGGGGGGGGGGGGG
  6201. GGGGGGGGGGGGGGGGGGG
  6202.  
  6203.  
  6204.  
  6205. Input:
  6206. Width: 19
  6207. Graham: 3
  6208. Chocolate: 1
  6209. Marshmellow: 1
  6210.  
  6211. Output:
  6212.  
  6213. GGGGGGGGGGGGGGGGGGG
  6214. GGGGGGGGGGGGGGGGGGG
  6215. GGGGGGGGGGGGGGGGGGG
  6216. CCCCCCCCCCCCCCCCCCC
  6217. MMMMMMMMMMMMMMMMMMM
  6218. GGGGGGGGGGGGGGGGGGG
  6219. GGGGGGGGGGGGGGGGGGG
  6220. GGGGGGGGGGGGGGGGGGG
  6221.  
  6222.  
  6223.  
  6224. Input:
  6225. Width: 19
  6226. Graham: 3
  6227. Chocolate: 1
  6228. Marshmellow: 2
  6229.  
  6230. Output:
  6231.  
  6232. GGGGGGGGGGGGGGGGGGG
  6233. GGGGGGGGGGGGGGGGGGG
  6234. GGGGGGGGGGGGGGGGGGG
  6235. CCCCCCCCCCCCCCCCCCC
  6236. MMMMMMMMMMMMMMMMMMM
  6237. MMMMMMMMMMMMMMMMMMM
  6238. GGGGGGGGGGGGGGGGGGG
  6239. GGGGGGGGGGGGGGGGGGG
  6240. GGGGGGGGGGGGGGGGGGG
  6241.  
  6242.  
  6243.  
  6244. Input:
  6245. Width: 19
  6246. Graham: 3
  6247. Chocolate: 2
  6248. Marshmellow: 1
  6249.  
  6250. Output:
  6251.  
  6252. GGGGGGGGGGGGGGGGGGG
  6253. GGGGGGGGGGGGGGGGGGG
  6254. GGGGGGGGGGGGGGGGGGG
  6255. CCCCCCCCCCCCCCCCCCC
  6256. CCCCCCCCCCCCCCCCCCC
  6257. MMMMMMMMMMMMMMMMMMM
  6258. GGGGGGGGGGGGGGGGGGG
  6259. GGGGGGGGGGGGGGGGGGG
  6260. GGGGGGGGGGGGGGGGGGG
  6261.  
  6262.  
  6263.  
  6264. Input:
  6265. Width: 19
  6266. Graham: 3
  6267. Chocolate: 2
  6268. Marshmellow: 2
  6269.  
  6270. Output:
  6271.  
  6272. GGGGGGGGGGGGGGGGGGG
  6273. GGGGGGGGGGGGGGGGGGG
  6274. GGGGGGGGGGGGGGGGGGG
  6275. CCCCCCCCCCCCCCCCCCC
  6276. CCCCCCCCCCCCCCCCCCC
  6277. MMMMMMMMMMMMMMMMMMM
  6278. MMMMMMMMMMMMMMMMMMM
  6279. GGGGGGGGGGGGGGGGGGG
  6280. GGGGGGGGGGGGGGGGGGG
  6281. GGGGGGGGGGGGGGGGGGG
  6282.  
  6283.  
  6284.  
  6285. Input:
  6286. Width: 19
  6287. Graham: 3
  6288. Chocolate: 3
  6289. Marshmellow: 1
  6290.  
  6291. Output:
  6292.  
  6293. GGGGGGGGGGGGGGGGGGG
  6294. GGGGGGGGGGGGGGGGGGG
  6295. GGGGGGGGGGGGGGGGGGG
  6296. CCCCCCCCCCCCCCCCCCC
  6297. CCCCCCCCCCCCCCCCCCC
  6298. CCCCCCCCCCCCCCCCCCC
  6299. MMMMMMMMMMMMMMMMMMM
  6300. GGGGGGGGGGGGGGGGGGG
  6301. GGGGGGGGGGGGGGGGGGG
  6302. GGGGGGGGGGGGGGGGGGG
  6303.  
  6304.  
  6305.  
  6306. Input:
  6307. Width: 19
  6308. Graham: 3
  6309. Chocolate: 3
  6310. Marshmellow: 2
  6311.  
  6312. Output:
  6313.  
  6314. GGGGGGGGGGGGGGGGGGG
  6315. GGGGGGGGGGGGGGGGGGG
  6316. GGGGGGGGGGGGGGGGGGG
  6317. CCCCCCCCCCCCCCCCCCC
  6318. CCCCCCCCCCCCCCCCCCC
  6319. CCCCCCCCCCCCCCCCCCC
  6320. MMMMMMMMMMMMMMMMMMM
  6321. MMMMMMMMMMMMMMMMMMM
  6322. GGGGGGGGGGGGGGGGGGG
  6323. GGGGGGGGGGGGGGGGGGG
  6324. GGGGGGGGGGGGGGGGGGG
RAW Paste Data