input renamed
fm algorithm sample input