Input

Input as Nested Tables
Transform

Output