using System;using System.Linq;publicstaticclassKata{
publicstaticstringEncode(string s)=>Cipher(s, i => i *6);publicstaticstringDecode(string s)=>Cipher(s, i => i /6);privatestaticstringCipher(string s, Func<int,int> f)=> String.Concat(s.Select(c =>(char)f(c)));}