import std / strutils func canMakeWord(blocks: seq[string]; word: string): bool = if blocks.len < word.len: return false if word.len == 0: return true let ch = word[0].toUpperAscii for i, pair in blocks: if ch in pair and (blocks[0..